Skip to content

Commit

Permalink
AppCore: Use user directory instead of documents for the default libr…
Browse files Browse the repository at this point in the history
…ary path
  • Loading branch information
julianxhokaxhiu committed Feb 1, 2025
1 parent 463a5b0 commit 94429d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AppCore/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ public static Settings UseDefaultSettings()
public void SetPathsFromInstallationPath(string pathToFf7Install)
{
FF7Exe = Sys.Settings.FF7InstalledVersion == FF7Version.Original98 ? Path.Combine(pathToFf7Install, "FF7.exe") : Path.Combine(pathToFf7Install, "ff7_en.exe");
if (LibraryLocation == string.Empty) LibraryLocation = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.MyDocuments), @"7th Heaven");
if (LibraryLocation == string.Empty) LibraryLocation = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.UserProfile), @"7th Heaven");

LogAndCreateFolderIfNotExists(LibraryLocation);

Expand Down

0 comments on commit 94429d2

Please sign in to comment.