This commit is contained in:
yicheng 2018-09-04 13:32:33 +08:00
parent 8fe07db2ca
commit 3f07277111

View File

@ -81,7 +81,7 @@ class ConfigFileFactory {
static func copySimpleConfigFile() {
let path = Bundle.main.path(forResource: "initConfig", ofType: "ini")!
backupAndRemoveConfigFile()
try? FileManager.default.copyItem(atPath: path, toPath: kConfigFolderPath)
try? FileManager.default.copyItem(atPath: path, toPath: kConfigFilePath)
NSUserNotificationCenter.default.postGenerateSimpleConfigNotice()
}