Skip to content

Commit c75e171

Browse files
committed
New: Added linux menu template.
1 parent 5e89e1a commit c75e171

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

app/menus/linux.json

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"menu": [{
3+
"label": "File",
4+
"submenu": [
5+
{"label": "New Window", "command": "application:new-window", "accelerator": "CommandOrControl+n"},
6+
{"type": "separator"},
7+
{"label": "Settings", "command": "application:show-settings", "accelerator": "CommandOrControl+,"},
8+
{"type": "separator"},
9+
{"label": "Save", "command": "request:save", "accelerator": "CommandOrControl+s"},
10+
{"label": "Save as...", "command": "request:save-as", "accelerator": "CommandOrControl+Shift+s"},
11+
{"type": "separator"},
12+
{"label": "Import data", "command": "application:import-data"},
13+
{"label": "Export data", "command": "application:export-data"}
14+
{"type": "separator"},
15+
{"label": "Quit", "command": "application:quit"}
16+
]
17+
}, {
18+
"label": "View",
19+
"submenu": [
20+
{"role": "togglefullscreen"},
21+
{
22+
"label": "Developer",
23+
"submenu": [
24+
{"role": "reload"},
25+
{"role": "forcereload"},
26+
{"role": "toggledevtools"}
27+
]
28+
},
29+
{"type": "separator"},
30+
{"role": "resetzoom"},
31+
{"role": "zoomin"},
32+
{"role": "zoomout"},
33+
{"role": "minimize"}
34+
]
35+
}, {
36+
"label": "Window",
37+
"role": "window",
38+
"submenu": [
39+
{"role": "minimize"},
40+
{"role": "zoom"},
41+
{"type": "separator"},
42+
{"role": "front"}
43+
]
44+
}, {
45+
"label": "Help",
46+
"role": "help",
47+
"submenu": [
48+
{"label": "VERSION", "enabled": false},
49+
{"label": "License information", "command": "application:open-license"},
50+
{"type": "separator"},
51+
{"label": "Restart and Install Update", "command": "application:install-update", "visible": false},
52+
{"label": "Check for Update", "command": "application:check-for-update", "visible": false},
53+
{"label": "Checking for Update", "enabled": false, "visible": false},
54+
{"label": "Downloading Update", "enabled": false, "visible": false},
55+
{"label": "Privacy policy", "command": "application:open-privacy-policy"},
56+
{"label": "Documentation", "command": "application:open-documentation"},
57+
{"label": "Frequently Asked Questions", "command": "application:open-faq"},
58+
{"type": "separator"},
59+
{"label": "Community Discussions", "command": "application:open-discussions"},
60+
{"label": "Report Issue", "command": "application:report-issue"},
61+
{"label": "Search Issues", "command": "application:search-issues"},
62+
{"type": "separator"},
63+
{"label": "About ARC", "command": "application:about"}
64+
]
65+
}]
66+
}

0 commit comments

Comments
 (0)