mirror of
https://gitlab.com/2009scape/Saradomin-Launcher.git
synced 2026-08-01 14:19:14 -06:00
Change code to continue using userprofile if it already exists, but default to appdata if possible.
This commit is contained in:
parent
6171139f2e
commit
ec6d05f098
1 changed files with 1 additions and 3 deletions
|
|
@ -201,9 +201,7 @@ namespace Saradomin.Utilities
|
|||
Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData),
|
||||
"2009scape"
|
||||
);
|
||||
if (Directory.Exists(userProfile))
|
||||
Directory.Move(userProfile, appData);
|
||||
return appData;
|
||||
return Directory.Exists(userProfile) ? userProfile : appData;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue