mirror of
https://github.com/Suwayomi/TachideskJUI.git
synced 2025-12-10 06:42:05 +01:00
Update AppDirs construction
This commit is contained in:
@@ -13,7 +13,7 @@ import okio.Path
|
||||
import okio.Path.Companion.toPath
|
||||
|
||||
val userDataDir: Path by lazy {
|
||||
AppDirs(BuildKonfig.NAME).getUserDataDir().toPath().also {
|
||||
AppDirs { appName = BuildKonfig.NAME }.getUserDataDir().toPath().also {
|
||||
if (!FileSystem.SYSTEM.exists(it)) {
|
||||
FileSystem.SYSTEM.createDirectories(it)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user