diff options
author | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-01-19 01:10:13 -0500 |
---|---|---|
committer | Jesse Plamondon-Willard <github@jplamondonw.com> | 2017-01-19 01:10:13 -0500 |
commit | f681f618c1423bab6256aaa1971d35cd25d643a5 (patch) | |
tree | d0c69ebd7f3fab92dc05f9faeb7bc93ca9e67fc8 /src/StardewModdingAPI/Program.cs | |
parent | f4846173a963a74017cbc5ef5aa040553e328e36 (diff) | |
download | SMAPI-f681f618c1423bab6256aaa1971d35cd25d643a5.tar.gz SMAPI-f681f618c1423bab6256aaa1971d35cd25d643a5.tar.bz2 SMAPI-f681f618c1423bab6256aaa1971d35cd25d643a5.zip |
add mod folder path to console
Diffstat (limited to 'src/StardewModdingAPI/Program.cs')
-rw-r--r-- | src/StardewModdingAPI/Program.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/StardewModdingAPI/Program.cs b/src/StardewModdingAPI/Program.cs index e5c27e71..40645561 100644 --- a/src/StardewModdingAPI/Program.cs +++ b/src/StardewModdingAPI/Program.cs @@ -100,7 +100,7 @@ namespace StardewModdingAPI Program.Monitor.WriteToConsole = !args.Contains("--no-terminal"); Thread.CurrentThread.CurrentCulture = CultureInfo.CreateSpecificCulture("en-GB"); // for consistent log formatting - // add info headers + // add info header Program.Monitor.Log($"SMAPI {Constants.ApiVersion} with Stardew Valley {Game1.version} on {Environment.OSVersion}", LogLevel.Info); // initialise user settings @@ -126,8 +126,11 @@ namespace StardewModdingAPI if (!Program.Settings.CheckForUpdates) Program.Monitor.Log($"You configured SMAPI to not check for updates. Running an old version of SMAPI is not recommended. You can enable update checks by editing or deleting {Constants.ApiConfigPath}.", LogLevel.Warn); if (!Program.Monitor.WriteToConsole) - Program.Monitor.Log($"Writing to the terminal is disabled because the --no-terminal argument was received. This usually means launching the terminal failed.", LogLevel.Warn); + Program.Monitor.Log("Writing to the terminal is disabled because the --no-terminal argument was received. This usually means launching the terminal failed.", LogLevel.Warn); + // print file paths + Program.Monitor.Log($"Mods go here: {Program.ModPath}"); + // initialise legacy log Log.Monitor = Program.GetSecondaryMonitor("legacy mod"); Log.ModRegistry = Program.ModRegistry; |