Skip to content

Commit 570638f

Browse files
committed
Merge branch 'develop' into 81-add-package-attributes
2 parents cdd6504 + b4dd8a4 commit 570638f

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

main.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,18 @@ app.on('activate', function () {
4040
function getTemplate() {
4141
const template = [
4242
{
43-
label: 'File',
43+
label: '&File',
4444
submenu: [
4545
{
4646
label: "Open SQLite File",
47+
accelerator: 'CmdOrCtrl+O',
4748
click: function (menuItem, currentWindow) {
4849
currentWindow.webContents.send('open-SQLite')
4950
}
5051
},
5152
{
5253
label: "Save SQLite File",
54+
accelerator: 'CmdOrCtrl+S',
5355
click: function (menuItem, currentWindow) {
5456
currentWindow.webContents.send('save-SQLite')
5557
}
@@ -71,7 +73,7 @@ function getTemplate() {
7173
]
7274
},
7375
{
74-
label: 'Edit',
76+
label: '&Edit',
7577
submenu: [
7678
{
7779
label: 'Undo',
@@ -109,7 +111,7 @@ function getTemplate() {
109111
]
110112
},
111113
{
112-
label: 'View',
114+
label: '&View',
113115
submenu: [
114116
{
115117
label: 'Reload',
@@ -148,7 +150,7 @@ function getTemplate() {
148150
]
149151
},
150152
{
151-
label: 'Window',
153+
label: '&Window',
152154
role: 'window',
153155
submenu: [
154156
{
@@ -164,7 +166,7 @@ function getTemplate() {
164166
]
165167
},
166168
{
167-
label: 'Help',
169+
label: '&Help',
168170
role: 'help',
169171
submenu: [
170172
{

0 commit comments

Comments
 (0)