diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-08-01 13:11:51 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2021-08-01 13:11:51 -0400 |
commit | 5b31be76dd90711ff475341de8dfdb6e1f50b98a (patch) | |
tree | e120bc62af72e94e8e924ba124382d0c6f9304de /src/SMAPI.Installer | |
parent | 8f96a97f070d654764de3b138678d8f62707f485 (diff) | |
parent | d688cdf8c3c852d4b11cdd046d67c4b35443cc95 (diff) | |
download | SMAPI-5b31be76dd90711ff475341de8dfdb6e1f50b98a.tar.gz SMAPI-5b31be76dd90711ff475341de8dfdb6e1f50b98a.tar.bz2 SMAPI-5b31be76dd90711ff475341de8dfdb6e1f50b98a.zip |
Merge branch 'develop' into stable
Diffstat (limited to 'src/SMAPI.Installer')
-rw-r--r-- | src/SMAPI.Installer/InteractiveInstaller.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/SMAPI.Installer/InteractiveInstaller.cs b/src/SMAPI.Installer/InteractiveInstaller.cs index 55e9c064..ab07c864 100644 --- a/src/SMAPI.Installer/InteractiveInstaller.cs +++ b/src/SMAPI.Installer/InteractiveInstaller.cs @@ -9,6 +9,7 @@ using StardewModdingApi.Installer.Enums; using StardewModdingAPI.Installer.Framework; using StardewModdingAPI.Internal.ConsoleWriting; using StardewModdingAPI.Toolkit; +using StardewModdingAPI.Toolkit.Framework; using StardewModdingAPI.Toolkit.Framework.ModScanning; using StardewModdingAPI.Toolkit.Utilities; @@ -571,7 +572,7 @@ namespace StardewModdingApi.Installer /// <param name="executablePath">The absolute path to the executable file.</param> private bool Is64Bit(string executablePath) { - return AssemblyName.GetAssemblyName(executablePath).ProcessorArchitecture != ProcessorArchitecture.X86; + return LowLevelEnvironmentUtility.Is64BitAssembly(executablePath); } /// <summary>Get the display text for a color scheme.</summary> |