Skip to content

Commit

Permalink
change settings save location since with new installer, the program f…
Browse files Browse the repository at this point in the history
…iles directory won't be writable
  • Loading branch information
SamuelTulach committed Feb 19, 2023
1 parent 0d34bac commit 0857338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uploader/uploader/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class Settings

public static string GetSettingsFilename()
{
return Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "vtu_settings.json");
return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "vtu_settings.json");
}

public static void SaveSettings(Settings settings)
Expand Down

1 comment on commit 0857338

@Pat-glich
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

aliases[odp. PL number]Image
#147 SpecialFolder + option in the privat hub deskop app optical cording
#121 #132

Please sign in to comment.