Feature: add global value for PicGo get GUI_VERSION & CORE_VERSION

This commit is contained in:
PiEgg
2020-09-28 19:41:02 +08:00
parent bb90e174f3
commit eab014dc88
3 changed files with 20 additions and 0 deletions

View File

@@ -16,4 +16,7 @@ picgo.saveConfig({
PICGO_ENV: 'GUI'
})
// @ts-ignore
picgo.GUI_VERSION = global.PICGO_GUI_VERSION
export default picgo! as PicGoCore