mirror of
https://gitlab.bixilon.de/bixilon/minosoft.git
synced 2025-09-09 15:29:20 -04:00
properly create temp folder
This commit is contained in:
parent
b169d97aa5
commit
4db357267e
@ -49,6 +49,10 @@ object RunConfiguration {
|
||||
|
||||
val TEMPORARY_FOLDER: Path = Path.of(System.getProperty("java.io.tmpdir") ?: "$HOME_DIRECTORY/tmp/", "/minosoft/")
|
||||
|
||||
init {
|
||||
TEMPORARY_FOLDER.toFile().mkdirs() // bad, io on init
|
||||
}
|
||||
|
||||
val X_START_ON_FIRST_THREAD_SET = System.getenv("JAVA_STARTED_ON_FIRST_THREAD_${ProcessHandle.current().pid()}") == "1"
|
||||
|
||||
var APPLICATION_NAME = "Minosoft"
|
||||
|
Loading…
x
Reference in New Issue
Block a user