File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ public class FileSwapper
44
44
*
45
45
* Writing a function to abstract each part of this path would cause as many problems as it solves for now
46
46
*/
47
- public static readonly string SwapPathFolder = Program . SavedDataPath + "SettingsBank" ;
47
+ public static readonly string SwapPathFolder = Path . Combine ( Program . SavedDataPath , "SettingsBank/" ) ;
48
48
public static readonly string OnBatteryPrefix = "OnBattery_" ;
49
49
public static readonly string PluggedInPrefix = "PluggedIn_" ;
50
50
@@ -56,7 +56,7 @@ public string SettingsBankFolderName
56
56
}
57
57
public string SettingsBankFolderPath
58
58
{
59
- get => SwapPathFolder + " \\ " + SettingsBankFolderName ;
59
+ get => Path . Combine ( SwapPathFolder , SettingsBankFolderName ) ;
60
60
}
61
61
62
62
public PreferencesXML ForPreferencesXML { get ; init ; }
You can’t perform that action at this time.
0 commit comments