diff --git a/ArchiSteamFarm/Program.cs b/ArchiSteamFarm/Program.cs index 8548bfaf26025..e2730d6762296 100644 --- a/ArchiSteamFarm/Program.cs +++ b/ArchiSteamFarm/Program.cs @@ -65,7 +65,7 @@ internal enum EMode : byte { private const string GithubReleaseURL = "https://api.github.com/repos/" + GithubRepo + "/releases"; // GitHub API is HTTPS only - internal static readonly Version Version = Assembly.GetExecutingAssembly().GetName().Version; + internal static readonly Version Version = Assembly.GetEntryAssembly().GetName().Version; private static readonly object ConsoleLock = new object(); private static readonly SemaphoreSlim SteamSemaphore = new SemaphoreSlim(1);