mirror of
https://github.com/DrBeef/QuestZDoom.git
synced 2025-04-24 10:08:52 +00:00
feat: make possible to have profiles all in a folder named profiles instead of having them all in the program root directory
This commit is contained in:
parent
a601c5a4cf
commit
617312c643
1 changed files with 1 additions and 1 deletions
|
@ -88,8 +88,8 @@ import java.util.Locale;
|
|||
|
||||
public void reload(String profile) {
|
||||
if (profile != null && !profile.isEmpty()) {
|
||||
copy_file(progdir + "/commandline-" + profile + ".txt", progdir + "/commandline.txt");
|
||||
copy_file(progdir + "/commandline_" + profile + ".txt", progdir + "/commandline.txt");
|
||||
copy_file(progdir + "/profiles/commandline_" + profile + ".txt", progdir + "/commandline.txt");
|
||||
}
|
||||
restartApplication(this);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue