fix: local UID not saved when switching users

This commit is contained in:
mio 2023-05-01 18:08:01 +08:00
parent 2bc52de233
commit d732d523a8
2 changed files with 2 additions and 2 deletions

@ -1,6 +1,6 @@
{ {
"name": "star-rail-warp-export", "name": "star-rail-warp-export",
"version": "0.0.4", "version": "0.0.5",
"main": "./dist/electron/main/main.js", "main": "./dist/electron/main/main.js",
"author": "biuuu <https://github.com/biuuu>", "author": "biuuu <https://github.com/biuuu>",
"license": "MIT", "license": "MIT",

@ -456,7 +456,7 @@ ipcMain.handle('READ_DATA', async () => {
}) })
ipcMain.handle('CHANGE_UID', (event, uid) => { ipcMain.handle('CHANGE_UID', (event, uid) => {
config.current = uid changeCurrent(uid)
}) })
ipcMain.handle('GET_CONFIG', () => { ipcMain.handle('GET_CONFIG', () => {