From 527b00ee13407d13d227ad2d4e2d14991eab77d9 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Mon, 14 Aug 2017 01:53:15 -0400 Subject: ignore installer arguments until SMAPI 2.0 --- src/StardewModdingAPI.Installer/InteractiveInstaller.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/StardewModdingAPI.Installer/InteractiveInstaller.cs b/src/StardewModdingAPI.Installer/InteractiveInstaller.cs index 6aee9961..01288f33 100644 --- a/src/StardewModdingAPI.Installer/InteractiveInstaller.cs +++ b/src/StardewModdingAPI.Installer/InteractiveInstaller.cs @@ -135,6 +135,11 @@ namespace StardewModdingApi.Installer /// public void Run(string[] args) { +#if SMAPI_1_x + bool installArg = false; + bool uninstallArg = false; + string gamePathArg = null; +#else /**** ** read command-line arguments ****/ @@ -155,6 +160,7 @@ namespace StardewModdingApi.Installer if (pathIndex >= 1 && args.Length >= pathIndex) gamePathArg = args[pathIndex]; } +#endif /**** ** collect details -- cgit