summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-04-02 21:30:55 -0400
committerJesse Plamondon-Willard <Pathoschild@users.noreply.github.com>2021-04-02 21:30:55 -0400
commit62c1f11109b3a16e4e1d526e8ddc891015c507b0 (patch)
tree4593926afbac05c3a56195456f43e553ac8d59e6 /src
parent1a4cdd71a5d5bd69a76d67c346562fdc2ccef22b (diff)
downloadSMAPI-62c1f11109b3a16e4e1d526e8ddc891015c507b0.tar.gz
SMAPI-62c1f11109b3a16e4e1d526e8ddc891015c507b0.tar.bz2
SMAPI-62c1f11109b3a16e4e1d526e8ddc891015c507b0.zip
remove unneeded compile switch (#767)
This was originally added to reduce antivirus false positives, but they do it anyway at this point.
Diffstat (limited to 'src')
-rw-r--r--src/SMAPI.Installer/InteractiveInstaller.cs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/SMAPI.Installer/InteractiveInstaller.cs b/src/SMAPI.Installer/InteractiveInstaller.cs
index 3d673719..2dcd81e7 100644
--- a/src/SMAPI.Installer/InteractiveInstaller.cs
+++ b/src/SMAPI.Installer/InteractiveInstaller.cs
@@ -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)