add support for changing downloads dir (#343)

This commit is contained in:
Aria Moradi
2022-04-16 20:20:57 +04:30
committed by GitHub
parent 844454053d
commit 50f4532406
3 changed files with 3 additions and 1 deletions

View File

@@ -26,6 +26,7 @@ class ServerConfig(config: Config, moduleName: String = MODULE_NAME) : SystemPro
// misc
val debugLogsEnabled: Boolean = debugLogsEnabled(GlobalConfigManager.config)
val systemTrayEnabled: Boolean by overridableConfig
val downloadsPath: String by overridableConfig
// webUI
val webUIEnabled: Boolean by overridableConfig