summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Plamondon-Willard <github@jplamondonw.com>2017-08-14 01:53:15 -0400
committerJesse Plamondon-Willard <github@jplamondonw.com>2017-08-14 01:53:15 -0400
commit527b00ee13407d13d227ad2d4e2d14991eab77d9 (patch)
tree9cd3cf070f7e8a965ad8b6664b797147a0d33a1f
parentdec98cb3977f388cf946a6e0b044ad1f9df2d014 (diff)
downloadSMAPI-527b00ee13407d13d227ad2d4e2d14991eab77d9.tar.gz
SMAPI-527b00ee13407d13d227ad2d4e2d14991eab77d9.tar.bz2
SMAPI-527b00ee13407d13d227ad2d4e2d14991eab77d9.zip
ignore installer arguments until SMAPI 2.0
-rw-r--r--src/StardewModdingAPI.Installer/InteractiveInstaller.cs6
1 files changed, 6 insertions, 0 deletions
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
/// </remarks>
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