diff options
author | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-10-02 01:19:33 -0400 |
---|---|---|
committer | Jesse Plamondon-Willard <Pathoschild@users.noreply.github.com> | 2019-10-02 01:19:33 -0400 |
commit | 15cd316ce44fb1ca43b29f6087243cc3af2f78fb (patch) | |
tree | 0eae84a89218fb820f79904541c8324ce88fdc1c /src | |
parent | b2bcda83d9490987bad36b657f5b55698352830c (diff) | |
download | SMAPI-15cd316ce44fb1ca43b29f6087243cc3af2f78fb.tar.gz SMAPI-15cd316ce44fb1ca43b29f6087243cc3af2f78fb.tar.bz2 SMAPI-15cd316ce44fb1ca43b29f6087243cc3af2f78fb.zip |
fix Save Backup mod on Android
Diffstat (limited to 'src')
-rw-r--r-- | src/SMAPI.Mods.SaveBackup/ModEntry.cs | 1 | ||||
-rw-r--r-- | src/SMAPI/Constants.cs | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/src/SMAPI.Mods.SaveBackup/ModEntry.cs b/src/SMAPI.Mods.SaveBackup/ModEntry.cs index 845df453..efc6f39f 100644 --- a/src/SMAPI.Mods.SaveBackup/ModEntry.cs +++ b/src/SMAPI.Mods.SaveBackup/ModEntry.cs @@ -73,6 +73,7 @@ namespace StardewModdingAPI.Mods.SaveBackup this.Monitor.Log($"Backing up saves to {targetFile.FullName}...", LogLevel.Trace); switch (Constants.TargetPlatform) { + case GamePlatform.Android: case GamePlatform.Linux: case GamePlatform.Windows: { diff --git a/src/SMAPI/Constants.cs b/src/SMAPI/Constants.cs index e3a6e6d5..9b113733 100644 --- a/src/SMAPI/Constants.cs +++ b/src/SMAPI/Constants.cs @@ -190,7 +190,7 @@ namespace StardewModdingAPI ** Private methods *********/ /// <summary>Get the name of the save folder, if any.</summary> - internal static string GetSaveFolderName() + private static string GetSaveFolderName() { // save not available if (Context.LoadStage == LoadStage.None) @@ -215,7 +215,7 @@ namespace StardewModdingAPI } /// <summary>Get the path to the current save folder, if any.</summary> - internal static string GetSaveFolderPathIfExists() + private static string GetSaveFolderPathIfExists() { string folderName = Constants.GetSaveFolderName(); if (folderName == null) |