fix boss-local-storage not created issue

This commit is contained in:
geekgeekrun
2024-03-04 00:17:34 +08:00
parent a25e7aedb9
commit 5e46401d33
@@ -88,7 +88,7 @@ export const storageFilePath = path.join(
runtimeFolderPath, runtimeFolderPath,
'storage' 'storage'
) )
export const storageFileNameList = ['boss-cookies.json'] export const storageFileNameList = ['boss-cookies.json', 'boss-local-storage.json']
const defaultStorageFileContentMap = { const defaultStorageFileContentMap = {
'boss-cookies.json': JSON.stringify(defaultBossCookieStorage), 'boss-cookies.json': JSON.stringify(defaultBossCookieStorage),