mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-02-08 21:38:13 -05:00
🐛 Fix: save debug mode && PICGO_ENV into config file
This commit is contained in:
parent
f2750e1234
commit
c6ead5b8cd
@ -11,7 +11,7 @@ const STORE_PATH = app.getPath('userData')
|
|||||||
const CONFIG_PATH = path.join(STORE_PATH, '/data.json')
|
const CONFIG_PATH = path.join(STORE_PATH, '/data.json')
|
||||||
|
|
||||||
const picgo = new PicGo(CONFIG_PATH)
|
const picgo = new PicGo(CONFIG_PATH)
|
||||||
picgo.setConfig({
|
picgo.saveConfig({
|
||||||
debug: true,
|
debug: true,
|
||||||
PICGO_ENV: 'GUI'
|
PICGO_ENV: 'GUI'
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user