Files
suwayomi-material-you-webui/server/src/main/kotlin/ir/armor/tachidesk/Config.kt

14 lines
481 B
Kotlin
Raw Normal View History

2020-12-24 19:37:27 +03:30
package ir.armor.tachidesk
2021-01-26 23:32:12 +03:30
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
2020-12-24 19:37:27 +03:30
import net.harawata.appdirs.AppDirsFactory
object Config {
2021-01-22 12:34:03 +03:30
val dataRoot = AppDirsFactory.getInstance().getUserDataDir("Tachidesk", null, null)
2020-12-25 02:39:30 +03:30
val extensionsRoot = "$dataRoot/extensions"
2021-01-29 14:19:24 +03:30
val thumbnailsRoot = "$dataRoot/thumbnails"
2021-01-22 12:34:03 +03:30
}