refactor(config): 重写 AppPaths 的 toString.

重写该方法后, 可以简单地添加到字符串模板中, 方便使用.
This commit is contained in:
LamGC 2022-02-21 16:47:13 +08:00
parent 3d5a009c7c
commit 856af0dde7
Signed by: LamGC
GPG Key ID: 6C5AE2A913941E1D

View File

@ -131,6 +131,10 @@ internal enum class AppPaths(
initialized.set(true) initialized.set(true)
} }
} }
override fun toString(): String {
return path
}
} }
internal object Const { internal object Const {