From 8eb2fb8d5df23c610660d280dd2d1ba756b339ab Mon Sep 17 00:00:00 2001 From: David Ernst Date: Wed, 5 Feb 2020 16:09:30 -0800 Subject: [PATCH] Automatically keep the copyright year up-to-date --- src/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config.js b/src/config.js index 73f1db1b..8e14adef 100644 --- a/src/config.js +++ b/src/config.js @@ -23,7 +23,7 @@ module.exports = { CRASH_REPORT_URL: 'https://webtorrent.io/desktop/crash-report', TELEMETRY_URL: 'https://webtorrent.io/desktop/telemetry', - APP_COPYRIGHT: 'Copyright © 2014-2019 ' + APP_TEAM, + APP_COPYRIGHT: `Copyright © 2014-${(new Date()).getFullYear()} ${APP_TEAM}`, APP_FILE_ICON: path.join(__dirname, '..', 'static', 'WebTorrentFile'), APP_ICON: path.join(__dirname, '..', 'static', 'WebTorrent'), APP_NAME: APP_NAME,