From 176e8a17b8d6d9d47ae259d6b2343d8c6ea42329 Mon Sep 17 00:00:00 2001 From: xiaojunnuo Date: Wed, 18 Aug 2021 11:27:33 +0800 Subject: [PATCH] 1 --- packages/gui/build/app-update.yml | 3 --- packages/gui/pkg/after-all-artifact-build.js | 4 ++-- 2 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 packages/gui/build/app-update.yml diff --git a/packages/gui/build/app-update.yml b/packages/gui/build/app-update.yml deleted file mode 100644 index efdd574b..00000000 --- a/packages/gui/build/app-update.yml +++ /dev/null @@ -1,3 +0,0 @@ -provider: generic -url: 'http://dev-sidecar.docmirror.cn/update/preview/' -updaterCacheDirName: '@docmirrordev-sidecar-gui-updater' diff --git a/packages/gui/pkg/after-all-artifact-build.js b/packages/gui/pkg/after-all-artifact-build.js index ae2c6a49..340eb16f 100644 --- a/packages/gui/pkg/after-all-artifact-build.js +++ b/packages/gui/pkg/after-all-artifact-build.js @@ -11,8 +11,8 @@ function appendIntro (context, systemType, latest) { const latestFilePath = path.join(context.outDir, latest) fs.appendFile(latestFilePath, `partPackage: ${partUpdateUrl}\n releaseNotes: \n - - 升级日志 - - https://download.fastgit.org/docmirror/dev-sidecar/releases/download/v${version}/DevSidecar-${version}.exe`, + - 升级日志\n + - https://download.fastgit.org/docmirror/dev-sidecar/releases/download/v${version}/DevSidecar-${version}.exe\n`, (err) => { if (err) { console.log('修改latest 失败')