序启动时对数据文件做读取校验,数据出现损坏时自动备份损坏的数据
This commit is contained in:
+3
-2
@@ -123,9 +123,10 @@ exports.mergeSetting = (setting, version) => {
|
||||
/**
|
||||
* 初始化设置
|
||||
* @param {*} setting
|
||||
* @param {*} isShowErrorAlert
|
||||
*/
|
||||
exports.initSetting = () => {
|
||||
const electronStore_list = getStore('playList')
|
||||
exports.initSetting = isShowErrorAlert => {
|
||||
const electronStore_list = getStore('playList', true, isShowErrorAlert)
|
||||
const electronStore_config = getStore('config')
|
||||
const electronStore_downloadList = getStore('downloadList')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user