|
|
@ -75,6 +75,7 @@ object Backup { |
|
|
|
} |
|
|
|
} |
|
|
|
GSON.toJson(ReadBookConfig.shareConfig).let { |
|
|
|
GSON.toJson(ReadBookConfig.shareConfig).let { |
|
|
|
FileUtils.createFileIfNotExist(backupPath + File.separator + ReadBookConfig.shareConfigFileName) |
|
|
|
FileUtils.createFileIfNotExist(backupPath + File.separator + ReadBookConfig.shareConfigFileName) |
|
|
|
|
|
|
|
.writeText(it) |
|
|
|
} |
|
|
|
} |
|
|
|
GSON.toJson(ThemeConfig.configList).let { |
|
|
|
GSON.toJson(ThemeConfig.configList).let { |
|
|
|
FileUtils.createFileIfNotExist(backupPath + File.separator + ThemeConfig.configFileName) |
|
|
|
FileUtils.createFileIfNotExist(backupPath + File.separator + ThemeConfig.configFileName) |
|
|
|