Skip to content

Commit 848bdbd

Browse files
committed
修改版权日期为自动更新
1 parent d929d0a commit 848bdbd

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

packages/gui/linux-arm64.vue.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ module.exports = defineConfig({
6363
productName: 'dev-sidecar',
6464
// eslint-disable-next-line no-template-curly-in-string
6565
artifactName: 'DevSidecar-${version}-${arch}.${ext}',
66-
copyright: 'Copyright © 2020-2026 Greper, WangLiang, CuteOmega',
66+
copyright: 'Copyright © 2020-' + new Date().getFullYear() + ' Greper, WangLiang, CuteOmega',
6767
nsis: {
6868
oneClick: false,
6969
perMachine: true,

packages/gui/src/view/App.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ export default {
224224
</div>
225225

226226
<div class="mt5">
227-
©2020-2026 docmirror.cn by
227+
©2020-{{ new Date().getFullYear() }} docmirror.cn by
228228
<a @click="openExternal('https://github.com/greper')">Greper</a>,
229229
<a @click="openExternal('https://github.com/wangliang181230')">WangLiang</a>,
230230
<a @click="openExternal('https://github.com/cute-omega')">CuteOmega</a>

packages/gui/vue.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ module.exports = defineConfig({
7575
productName: 'dev-sidecar',
7676
// eslint-disable-next-line no-template-curly-in-string
7777
artifactName: 'DevSidecar-${version}-${arch}.${ext}',
78-
copyright: 'Copyright © 2020-2026 Greper, WangLiang, CuteOmega',
78+
copyright: 'Copyright © 2020-' + new Date().getFullYear() + ' Greper, WangLiang, CuteOmega',
7979
nsis: {
8080
oneClick: false,
8181
perMachine: true,

0 commit comments

Comments
 (0)