From f99460a3ec9f70522d7c21fa27e433b0a5be7809 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Tue, 17 Aug 2021 20:30:28 -0700 Subject: [PATCH] 1 --- packages/gui/.env.pre | 2 ++ packages/gui/package.json | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 packages/gui/.env.pre diff --git a/packages/gui/.env.pre b/packages/gui/.env.pre new file mode 100644 index 00000000..ba94875b --- /dev/null +++ b/packages/gui/.env.pre @@ -0,0 +1,2 @@ +VUE_APP_PUBLISH_URL=http://dev-sidecar.docmirror.cn/update/ +VUE_APP_PUBLISH_PROVIDER=generic \ No newline at end of file diff --git a/packages/gui/package.json b/packages/gui/package.json index 74975726..0d5b0c6c 100644 --- a/packages/gui/package.json +++ b/packages/gui/package.json @@ -1,6 +1,6 @@ { "name": "@docmirror/dev-sidecar-gui", - "version": "1.6.0", + "version": "1.5.0", "private": false, "license": "MPL-2.0", "main": "background.js", @@ -8,7 +8,9 @@ "serve": "vue-cli-service serve", "lint": "vue-cli-service lint", "electron:build": "vue-cli-service electron:build", + "electron:build:pre": "vue-cli-service electron:build --mode pre", "electron": "vue-cli-service electron:serve", + "electron:pre": "vue-cli-service electron:serve --mode pre", "postinstall": "electron-builder install-app-deps", "postuninstall": "electron-builder install-app-deps", "electron:icons": "electron-icon-builder --input=./public/logo/win.png --output=build --flatten",