From 64331ffe8c8cb0fc19878bbf5349299c483f8d9d Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Wed, 13 Mar 2019 22:20:18 -0400 Subject: default Monitor.Log to trace --- src/SMAPI.Mods.SaveBackup/ModEntry.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/SMAPI.Mods.SaveBackup') diff --git a/src/SMAPI.Mods.SaveBackup/ModEntry.cs b/src/SMAPI.Mods.SaveBackup/ModEntry.cs index d10131b3..30dbfbe6 100644 --- a/src/SMAPI.Mods.SaveBackup/ModEntry.cs +++ b/src/SMAPI.Mods.SaveBackup/ModEntry.cs @@ -46,7 +46,7 @@ namespace StardewModdingAPI.Mods.SaveBackup } catch (Exception ex) { - this.Monitor.Log($"Error backing up saves: {ex}"); + this.Monitor.Log($"Error backing up saves: {ex}", LogLevel.Error); } } @@ -87,7 +87,7 @@ namespace StardewModdingAPI.Mods.SaveBackup catch (Exception ex) when (ex is TypeLoadException || ex.InnerException is TypeLoadException) { // create uncompressed backup if compression fails - this.Monitor.Log("Couldn't zip the save backup, creating uncompressed backup instead."); + this.Monitor.Log("Couldn't zip the save backup, creating uncompressed backup instead.", LogLevel.Debug); this.Monitor.Log(ex.ToString(), LogLevel.Trace); this.RecursiveCopy(new DirectoryInfo(Constants.SavesPath), fallbackDir, copyRoot: false); } @@ -137,7 +137,7 @@ namespace StardewModdingAPI.Mods.SaveBackup } catch (Exception ex) { - this.Monitor.Log($"Error deleting old save backup '{file.Name}': {ex}"); + this.Monitor.Log($"Error deleting old save backup '{file.Name}': {ex}", LogLevel.Error); } } } -- cgit From 94702ca4b7136eeb306a2109e7af2a6c804b6335 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Tue, 18 Jun 2019 23:36:58 -0400 Subject: use default indentation for JSON files --- src/SMAPI.Mods.SaveBackup/manifest.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/SMAPI.Mods.SaveBackup') diff --git a/src/SMAPI.Mods.SaveBackup/manifest.json b/src/SMAPI.Mods.SaveBackup/manifest.json index 1581d139..be8a65d1 100644 --- a/src/SMAPI.Mods.SaveBackup/manifest.json +++ b/src/SMAPI.Mods.SaveBackup/manifest.json @@ -1,9 +1,9 @@ { - "Name": "Save Backup", - "Author": "SMAPI", - "Version": "2.11.2", - "Description": "Automatically backs up all your saves once per day into its folder.", - "UniqueID": "SMAPI.SaveBackup", - "EntryDll": "SaveBackup.dll", - "MinimumApiVersion": "2.11.2" + "Name": "Save Backup", + "Author": "SMAPI", + "Version": "2.11.2", + "Description": "Automatically backs up all your saves once per day into its folder.", + "UniqueID": "SMAPI.SaveBackup", + "EntryDll": "SaveBackup.dll", + "MinimumApiVersion": "2.11.2" } -- cgit From 125bcbee56bf40cf82abc7fdb502f8cbc18546cf Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Fri, 13 Sep 2019 17:22:45 -0400 Subject: migrate to new project file format --- .../StardewModdingAPI.Mods.SaveBackup.csproj | 63 +++++++--------------- 1 file changed, 18 insertions(+), 45 deletions(-) (limited to 'src/SMAPI.Mods.SaveBackup') diff --git a/src/SMAPI.Mods.SaveBackup/StardewModdingAPI.Mods.SaveBackup.csproj b/src/SMAPI.Mods.SaveBackup/StardewModdingAPI.Mods.SaveBackup.csproj index 56b6b7f4..3d378ca6 100644 --- a/src/SMAPI.Mods.SaveBackup/StardewModdingAPI.Mods.SaveBackup.csproj +++ b/src/SMAPI.Mods.SaveBackup/StardewModdingAPI.Mods.SaveBackup.csproj @@ -1,62 +1,35 @@ - - - + + - Debug - x86 - {E272EB5D-8C57-417E-8E60-C1079D3F53C4} - Library - Properties StardewModdingAPI.Mods.SaveBackup SaveBackup - v4.5 - 512 + net45 + false latest + $(SolutionDir)\..\bin\$(Configuration)\Mods\SaveBackup + false + x86 - - true - full - false - $(SolutionDir)\..\bin\Debug\Mods\SaveBackup\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - $(SolutionDir)\..\bin\Release\Mods\SaveBackup\ - TRACE - prompt - 4 - + - + + False + + Properties\GlobalAssemblyInfo.cs - - + - + PreserveNewest - - - {f1a573b0-f436-472c-ae29-0b91ea6b9f8f} - StardewModdingAPI - False - - - {d5cfd923-37f1-4bc3-9be8-e506e202ac28} - StardewModdingAPI.Toolkit.CoreInterfaces - False - - - + + - \ No newline at end of file + + -- cgit From fb04b67a2b91ce3a3b2b2f160b4266eeea624e67 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Tue, 18 Jun 2019 23:39:08 -0400 Subject: use same .csproj charset as Visual Studio tools --- src/SMAPI.Mods.SaveBackup/StardewModdingAPI.Mods.SaveBackup.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/SMAPI.Mods.SaveBackup') diff --git a/src/SMAPI.Mods.SaveBackup/StardewModdingAPI.Mods.SaveBackup.csproj b/src/SMAPI.Mods.SaveBackup/StardewModdingAPI.Mods.SaveBackup.csproj index 3d378ca6..460f3c93 100644 --- a/src/SMAPI.Mods.SaveBackup/StardewModdingAPI.Mods.SaveBackup.csproj +++ b/src/SMAPI.Mods.SaveBackup/StardewModdingAPI.Mods.SaveBackup.csproj @@ -1,4 +1,4 @@ - + StardewModdingAPI.Mods.SaveBackup -- cgit From b7b8b001c5c2dc5d2c9fc1347532ca29368c2325 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Fri, 13 Sep 2019 18:20:27 -0400 Subject: update for release --- src/SMAPI.Mods.SaveBackup/manifest.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/SMAPI.Mods.SaveBackup') diff --git a/src/SMAPI.Mods.SaveBackup/manifest.json b/src/SMAPI.Mods.SaveBackup/manifest.json index be8a65d1..e147bd39 100644 --- a/src/SMAPI.Mods.SaveBackup/manifest.json +++ b/src/SMAPI.Mods.SaveBackup/manifest.json @@ -1,9 +1,9 @@ { "Name": "Save Backup", "Author": "SMAPI", - "Version": "2.11.2", + "Version": "2.11.3", "Description": "Automatically backs up all your saves once per day into its folder.", "UniqueID": "SMAPI.SaveBackup", "EntryDll": "SaveBackup.dll", - "MinimumApiVersion": "2.11.2" + "MinimumApiVersion": "2.11.3" } -- cgit