remove unneeded compile switch (#767)

This was originally added to reduce antivirus false positives, but they do it anyway at this point.
This commit is contained in:
Jesse Plamondon-Willard 2021-04-02 21:30:55 -04:00
parent 1a4cdd71a5
commit 62c1f11109
No known key found for this signature in database
GPG Key ID: CF8B1456B3E29F49
2 changed files with 1 additions and 5 deletions

View File

@ -12,6 +12,7 @@
* On macOS, the `StardewModdingAPI.bin.osx` file is no longer overwritten if it's identical to avoid resetting file permissions (thanks to 007wayne!).
* Fixed error for non-English players after returning to title, reloading, and entering town with a completed movie theater.
* Fixed `world_clear` console command not removing resource clumps outside the farm and secret woods.
* Internal changes to prepare for unofficial 64-bit.
* For modders:
* Added asset propagation for `Data\Concessions`.

View File

@ -10,9 +10,7 @@ using StardewModdingAPI.Internal.ConsoleWriting;
using StardewModdingAPI.Toolkit;
using StardewModdingAPI.Toolkit.Framework.ModScanning;
using StardewModdingAPI.Toolkit.Utilities;
#if !SMAPI_FOR_WINDOWS
using System.Diagnostics;
#endif
namespace StardewModdingApi.Installer
{
@ -433,8 +431,6 @@ namespace StardewModdingApi.Installer
// mark file executable
// (MSBuild doesn't keep permission flags for files zipped in a build task.)
// (Note: exclude from Windows build because antivirus apps can flag the process start code as suspicious.)
#if !SMAPI_FOR_WINDOWS
new Process
{
StartInfo = new ProcessStartInfo
@ -444,7 +440,6 @@ namespace StardewModdingApi.Installer
CreateNoWindow = true
}
}.Start();
#endif
}
// create mods directory (if needed)