Make it EVEN better!

This commit is contained in:
JustArchi
2020-10-21 00:32:51 +02:00
parent 71174f5978
commit ba08fe9631
2 changed files with 2 additions and 5 deletions

View File

@@ -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());
}

View File

@@ -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";