mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 06:00:46 +00:00
Make it EVEN better!
This commit is contained in:
@@ -788,10 +788,8 @@ namespace ArchiSteamFarm {
|
||||
throw new ArgumentNullException(nameof(archive) + " || " + nameof(targetDirectory));
|
||||
}
|
||||
|
||||
string steamKit2Path = Path.Combine(SharedInfo.HomeDirectory, SharedInfo.SteamKit2Path);
|
||||
|
||||
if (File.Exists(steamKit2Path)) {
|
||||
// We're running a build that includes our dependencies in their generic forms
|
||||
if (SharedInfo.HomeDirectory == AppContext.BaseDirectory) {
|
||||
// We're running a build that includes our dependencies in ASF's home
|
||||
// Before actually moving files in update procedure, let's minimize the risk of some assembly not being loaded that we may need in the process
|
||||
LoadAssembliesRecursively(Assembly.GetExecutingAssembly());
|
||||
}
|
||||
|
||||
@@ -60,7 +60,6 @@ namespace ArchiSteamFarm {
|
||||
internal const string ProjectURL = "https://github.com/" + GithubRepo;
|
||||
internal const string SentryHashExtension = ".bin";
|
||||
internal const string StatisticsServer = "asf.justarchi.net";
|
||||
internal const string SteamKit2Path = nameof(SteamKit2) + ".dll";
|
||||
internal const string UlongCompatibilityStringPrefix = "s_";
|
||||
internal const string UpdateDirectory = "_old";
|
||||
internal const string WebsiteDirectory = "www";
|
||||
|
||||
Reference in New Issue
Block a user