修改: main.js

修改:     package.json
This commit is contained in:
shenmo 2022-09-02 10:36:18 +08:00
parent 3bfde67f69
commit d45193bbfe
2 changed files with 10 additions and 9 deletions

18
main.js
View File

@ -83,7 +83,7 @@ let mainMenu = [
label: 'File',
submenu: [
{
label: 'New Chat',
label: '新建聊天',
accelerator: !isOsx ? 'Ctrl+N' : 'Cmd+N',
click() {
mainWindow.show();
@ -91,7 +91,7 @@ let mainMenu = [
}
},
{
label: 'Search...',
label: '搜索',
accelerator: !isOsx ? 'Ctrl+F' : 'Cmd+F',
click() {
mainWindow.show();
@ -99,7 +99,7 @@ let mainMenu = [
}
},
{
label: 'Batch Send Message',
label: '群发消息',
accelerator: !isOsx ? 'Ctrl+B' : 'Cmd+B',
click() {
mainWindow.show();
@ -110,7 +110,7 @@ let mainMenu = [
type: 'separator',
},
{
label: 'Insert emoji',
label: '插入表情符号',
accelerator: !isOsx ? 'Ctrl+I' : 'Cmd+I',
click() {
mainWindow.show();
@ -121,7 +121,7 @@ let mainMenu = [
type: 'separator',
},
{
label: 'Next conversation',
label: '下一个聊天',
accelerator: !isOsx ? 'Ctrl+J' : 'Cmd+J',
click() {
mainWindow.show();
@ -129,7 +129,7 @@ let mainMenu = [
}
},
{
label: 'Previous conversation',
label: '上一个聊天',
accelerator: !isOsx ? 'Ctrl+K' : 'Cmd+K',
click() {
mainWindow.show();
@ -158,7 +158,7 @@ let mainMenu = [
},
{
label: 'Edit',
label: '编辑',
submenu: [
{
role: 'undo'
@ -242,7 +242,7 @@ let mainMenu = [
role: 'help',
submenu: [
{
label: '反馈(不一定解决)',
label: '反馈',
click() {
shell.openExternal('https://gitee.com/spark-community-works-collections/wewechat-plus-plus/issues');
}
@ -316,7 +316,7 @@ let trayMenu = [
}
},
{
label: 'Quit weweChat',
label: '退出 weweChat',
accelerator: !isOsx ? 'Alt+Q' : 'Command+Q',
selector: 'terminate:',
click() {

View File

@ -57,6 +57,7 @@
"category": "Chat",
"executableName": "wewechat",
"target": [
"deb",
"AppImage"
]
},