Skip to content

Commit 0857338

Browse files
committed
change settings save location since with new installer, the program files directory won't be writable
1 parent 0d34bac commit 0857338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uploader/uploader/Settings.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class Settings
1616

1717
public static string GetSettingsFilename()
1818
{
19-
return Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "vtu_settings.json");
19+
return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "vtu_settings.json");
2020
}
2121

2222
public static void SaveSettings(Settings settings)

0 commit comments

Comments
 (0)