Skip to content
Snippets Groups Projects
Verified Commit a8c31efc authored by Griefed's avatar Griefed :joystick:
Browse files

refactor: Move firstRun to Java Prefs

parent 4beac32a
No related branches found
No related tags found
1 merge request!630Develop
......@@ -2770,8 +2770,8 @@ class ApiProperties(propertiesFile: File = File("serverpackcreator.properties"))
setLoggingLevel(logLevel)
}
firstRun = getBoolProperty("de.griefed.serverpackcreator.firstrun", true)
setBoolProperty("de.griefed.serverpackcreator.firstrun", false)
firstRun = spcPreferences.getBoolean("de.griefed.serverpackcreator.firstrun",true)
spcPreferences.putBoolean("de.griefed.serverpackcreator.firstrun",false)
logsDirectory.create(createFileOrDir = true, asDirectory = true)
serverFilesDirectory.create(createFileOrDir = true, asDirectory = true)
propertiesDirectory.create(createFileOrDir = true, asDirectory = true)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment