diff --git a/packages/gui/pkg/after-pack.js b/packages/gui/pkg/after-pack.js index 9fd15354..e511d2c9 100644 --- a/packages/gui/pkg/after-pack.js +++ b/packages/gui/pkg/after-pack.js @@ -20,7 +20,8 @@ exports.default = async function (context) { const partUpdateUrl = 'http://dev-sidecar.docmirror.cn/update/' + partUpdateFile - fs.appendFile(path.join(context.outDir, latest), `partPackage: ${partUpdateUrl}\nreleaseNotes: \n - 升级日志`, (err) => { + const latestFilePath = path.join(context.outDir, latest) + fs.appendFile(latestFilePath, `\npartPackage: ${partUpdateUrl}\nreleaseNotes: \n - 升级日志`, (err) => { if (err) { console.log('修改latest 失败') } diff --git a/packages/gui/vue.config.js b/packages/gui/vue.config.js index 801260a8..2e21a46f 100644 --- a/packages/gui/vue.config.js +++ b/packages/gui/vue.config.js @@ -49,7 +49,7 @@ module.exports = { productName: 'DevSidecar', // eslint-disable-next-line no-template-curly-in-string artifactName: 'DevSidecar-${version}.${ext}', - copyright: 'Copyright © 2020', + copyright: 'Copyright © 2020-2021 Greper', nsis: { oneClick: false, perMachine: true,