Skip to content

Commit ab30243

Browse files
committed
make 2nd-INSTANCE based on v1.28.1
1 parent 2b3ce95 commit ab30243

21 files changed

+29
-28
lines changed

about.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33

44
<head>
5-
<title>About wnr</title>
5+
<title>About wnr-2nd</title>
66
<meta charset="UTF-8" />
77
<meta http-equiv="Content-Type" content="text/html" />
88
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimal-ui" />
@@ -33,7 +33,7 @@
3333
<img src="res/icons/wnrIcon.png" width="100%" />
3434
</div>
3535
<div class="col-8" id="about-content">
36-
<h1>wnr</h1>
36+
<h1>wnr-2nd</h1>
3737
<p class="small text-muted">
3838
<script>document.write(i18n.__('version') + require("./package.json").version);</script>
3939
|

custom-dialog.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33

44
<head>
5-
<title>wnr</title>
5+
<title>wnr-2nd</title>
66
<meta charset="UTF-8" />
77
<meta http-equiv="Content-Type" content="text/html" />
88
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimal-ui" />

external-title.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33

44
<head>
5-
<title>wnr</title>
5+
<title>wnr-2nd</title>
66
<meta charset="UTF-8" />
77
<meta http-equiv="Content-Type" content="text/html" />
88
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimal-ui" />

floating.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33

44
<head>
5-
<title>wnr</title>
5+
<title>wnr-2nd</title>
66
<meta charset="UTF-8" />
77
<meta http-equiv="Content-Type" content="text/html" />
88
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimal-ui" />

index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33

44
<head>
5-
<title>wnr</title>
5+
<title>wnr-2nd</title>
66
<meta charset="UTF-8" />
77
<meta http-equiv="Content-Type" content="text/html" />
88
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimal-ui" />
@@ -126,6 +126,7 @@
126126
</script>
127127
</div>
128128
<div id="controller">
129+
<span class="small text-grey">2nd&nbsp;&nbsp;&nbsp;&nbsp;|</span>&nbsp;&nbsp;
129130
<a href="javascript:statistics()" class="small rest" id="statistics"><i
130131
class="iconfont icon-statistics"></i></a>&nbsp;&nbsp;
131132
<a href="javascript:call('locker')" class="small rest" id="locker" style="display: none"><i

locales/en.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"update-web-problem" : "Unable check for update right now. ",
2828
"update-web-problem-msg" : "Cannot check for update right now. \rMaybe there is a problem with your network. Please try again later.",
2929
"settings" : "Settings",
30-
"info" : "About wnr",
30+
"info" : "About wnr-2nd",
3131
"window-hide" : "Hide the window to system tray",
3232
"window-max" : "Maximize this window",
3333
"window-minimize" : "Minimize to taskbar",
@@ -70,14 +70,14 @@
7070
"newbie-for-settings" : "Some tips about wnr preferences",
7171
"newbie-for-settings-tip" : "The preferences will automatically be saved. Some preferences needs a restart.",
7272
"alarm-for-not-using-wnr-dialog-box-title" : "Long time no see... ",
73-
"alarm-for-not-using-wnr-dialog-box-content" : "Open wnr and start your timer! ",
73+
"alarm-for-not-using-wnr-dialog-box-content" : "Open wnr-2nd and start your timer! ",
7474
"all-sum-part-1" : "all together",
7575
"all-sum-part-2" : "minutes, to ",
7676
"only-one-min-left" : "Less than 1 min left",
7777
"only-one-min-left-msg" : "Only a few amount of time left! ",
7878
"operations" : "Options",
7979
"tourguide" : "Tourguide",
80-
"about" : "About wnr",
80+
"about" : "About wnr-2nd",
8181
"focus-mode-part-1" : "Full",
8282
"focus-mode-part-2" : "screen",
8383
"wrong-folder-notification-title" : "Not in Applications folder",

locales/zh-CN.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"update-web-problem" : "暂时无法检测更新。",
2828
"update-web-problem-msg" : "暂时无法检测更新,可能是网络连接有问题,请稍后再试。",
2929
"settings" : "设置",
30-
"info" : "关于 wnr",
30+
"info" : "关于 wnr-2nd",
3131
"window-hide" : "隐藏至托盘菜单",
3232
"window-max" : "最大化窗口",
3333
"window-minimize" : "最小化至任务栏",
@@ -68,8 +68,8 @@
6868
"helper" : "帮助手册",
6969
"newbie-for-settings" : "你似乎是第一次打开设置",
7070
"newbie-for-settings-tip" : "设置会自动生效,部分组件在被设置后会自动重启程序,望知悉。",
71-
"alarm-for-not-using-wnr-dialog-box-title" : "你已经很久没有使用 wnr了",
72-
"alarm-for-not-using-wnr-dialog-box-content" : "打开 wnr,继续你的时间计划吧!",
71+
"alarm-for-not-using-wnr-dialog-box-title" : "你已经很久没有使用 wnr-2nd 了",
72+
"alarm-for-not-using-wnr-dialog-box-content" : "打开 wnr-2nd,继续你的时间计划吧!",
7373
"all-sum-part-1" : "共计",
7474
"all-sum-part-2" : "分钟,到",
7575
"only-one-min-left" : "时间仅剩不到一分钟",
@@ -80,7 +80,7 @@
8080
"focus-mode-part-1" : "全屏",
8181
"focus-mode-part-2" : "专心",
8282
"wrong-folder-notification-title" : "当前应用并不在应用程序文件夹中",
83-
"wrong-folder-notification-content" : "把应用移到系统的应用程序文件夹中可以更方便地使用 wnr。",
83+
"wrong-folder-notification-content" : "把应用移到系统的应用程序文件夹中可以更方便地使用 wnr-2nd",
8484
"extend-part-1" : "更多",
8585
"extend-part-2" : "设置",
8686
"default" : "预设任务",
@@ -93,7 +93,7 @@
9393
"add" : "添加",
9494
"delete" : "删除",
9595
"predefined-tasks-settings" : "预设设置",
96-
"window-close-dialog-box-title" : "是否要退出 wnr?",
96+
"window-close-dialog-box-title" : "是否要退出 wnr-2nd",
9797
"copied" : "已经复制。",
9898
"settings-backup-msg" : "备份 wnr 设置项:",
9999
"settings-backup-tip" : "点击“复制”,可以复制并备份 wnr 设置项的口令。将口令粘贴到 wnr 的“导入设置”中,就可以实现设置的快捷导入。",

locales/zh-TW.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"all-task-end" : "時間計劃完成了!",
1717
"all-task-end-msg" : "祝賀你!設置個新計劃如何?",
1818
"update" : "新版本可用!",
19-
"update-msg" : "請更新 wnr,來體驗新功能並避免受到漏洞干擾。",
19+
"update-msg" : "請更新 wnr-2nd,來體驗新功能並避免受到漏洞干擾。",
2020
"update-content" : "更新內容:",
2121
"update-content-error" : "無法獲取更新日誌。",
2222
"update-chk" : "前往 GitHub 下載更新",
@@ -27,7 +27,7 @@
2727
"update-web-problem" : "暫時無法檢測更新。",
2828
"update-web-problem-msg" : "暫時無法檢測更新,可能是網絡連接有問題,請稍後再試。",
2929
"settings" : "設置",
30-
"info" : "關於 wnr",
30+
"info" : "關於 wnr-2nd",
3131
"window-hide" : "隱藏至托盤菜單",
3232
"window-max" : "最大化窗口",
3333
"window-minimize" : "最小化至任務欄",
@@ -80,7 +80,7 @@
8080
"focus-mode-part-1" : "全屏",
8181
"focus-mode-part-2" : "專心",
8282
"wrong-folder-notification-title" : "當前應用並不在應用程序文件夾中",
83-
"wrong-folder-notification-content" : "把應用移到系統的應用程序文件夾中可以更方便地使用 wnr。",
83+
"wrong-folder-notification-content" : "把應用移到系統的應用程序文件夾中可以更方便地使用 wnr-2nd",
8484
"extend-part-1" : "更多",
8585
"extend-part-2" : "設置",
8686
"default" : "預設任務",
@@ -93,7 +93,7 @@
9393
"add" : "添加",
9494
"delete" : "刪除",
9595
"predefined-tasks-settings" : "預設設置",
96-
"window-close-dialog-box-title" : "是否要退出 wnr?",
96+
"window-close-dialog-box-title" : "是否要退出 wnr-2nd",
9797
"copied" : "已經複製。",
9898
"settings-backup-msg" : "備份 wnr 設置項:",
9999
"settings-backup-tip" : "點擊“複製”,可以複製並備份 wnr 設置項的口令。將口令粘貼到 wnr 的“導入設置”中,就可以實現設置的快捷導入。",

main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ app.commandLine.appendSwitch('autoplay-policy', 'no-user-gesture-required')//to
4444
process.env['ELECTRON_DISABLE_SECURITY_WARNINGS'] = 'true';//prevent seeing this meaningless alert
4545

4646
//use native notification, declare package.json/build/appId beforehand
47-
app.on('ready', () => app.setAppUserModelId('com.scrisstudio.wnr'));
47+
app.on('ready', () => app.setAppUserModelId('com.scrisstudio.wnr2nd'));
4848

4949
function createWindow() {
5050
//create the main window

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name" : "wnr",
3-
"version" : "1.28.1",
2+
"name" : "wnr-2nd",
3+
"version" : "1.28.1-2nd",
44
"description" : "Work and rest, with wnr now!",
55
"main" : "main.js",
66
"scripts" : {
@@ -22,12 +22,12 @@
2222
"author" : "RoderickQiu",
2323
"license" : "MPL-2.0",
2424
"homepage" : "https://getwnr.com",
25-
"appId" : "com.scrisstudio.wnr",
25+
"appId" : "com.scrisstudio.wnr2nd",
2626
"build" : {
27-
"appId" : "com.scrisstudio.wnr"
27+
"appId" : "com.scrisstudio.wnr2nd"
2828
},
2929
"copyright" : "(c) Roderick Qiu",
30-
"productName" : "wnr",
30+
"productName" : "wnr-2nd",
3131
"dependencies" : {
3232
"@eastdesire/jscolor" : "2.5.1",
3333
"@electron/remote" : "2.0.9",

placeholder.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33

44
<head>
5-
<title>wnr</title>
5+
<title>wnr-2nd</title>
66
<meta charset="UTF-8" />
77
<meta http-equiv="Content-Type" content="text/html" />
88
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimal-ui" />

res/icons/iconMac.icns

717 Bytes
Binary file not shown.

res/icons/iconMac.png

3.28 KB
Loading

res/icons/iconMac.psd

28.3 KB
Binary file not shown.

res/icons/iconWin.ico

-78.2 KB
Binary file not shown.

res/icons/trayIconMacTemplate.png

1.46 KB
Loading

res/icons/trayIconMacTemplate@2x.png

1.5 KB
Loading

res/icons/wnrIcon.png

5.23 KB
Loading

res/icons/wnrIcon.psd

1.76 KB
Binary file not shown.

statistics.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33

44
<head>
5-
<title>wnr</title>
5+
<title>wnr-2nd</title>
66
<meta charset="UTF-8" />
77
<meta http-equiv="Content-Type" content="text/html" />
88
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimal-ui" />

timer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<html>
33

44
<head>
5-
<title>wnr</title>
5+
<title>wnr-2nd</title>
66
<meta charset="UTF-8" />
77
<meta http-equiv="Content-Type" content="text/html" />
88
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimal-ui" />
@@ -229,7 +229,7 @@ <h3>
229229
<div id="bottom-bar">&nbsp;</div>
230230

231231
<div id="fullscreen-custom-dialog" class="justify-content-left align-content-left text-left d-none">
232-
<p class="small text-grey font-weight-bolder" style="margin-left: 0" id="dialog-title">wnr</p>
232+
<p class="small text-grey font-weight-bolder" style="margin-left: 0" id="dialog-title">wnr-2nd</p>
233233
<p id="dialog-msg" class="small" style="line-height: 1.5; width: 210px; line-break: anywhere">Message</p>
234234
<div id="dialog-buttons" style="width:210px" class="text-right">
235235
<a type="button" id="dialog-ok" class="btn btn-outline-primary btn-sm text-right"

0 commit comments

Comments
 (0)