mirror of
https://github.com/agam778/MS-365-Electron.git
synced 2026-02-17 09:02:10 +00:00
Rearrange MS-365-Electron menu
This commit is contained in:
38
app/menu.js
38
app/menu.js
@@ -126,6 +126,14 @@ const menulayout = [
|
||||
});
|
||||
},
|
||||
},
|
||||
{
|
||||
label: "Check for Updates",
|
||||
id: "check-for-updates",
|
||||
click: async () => {
|
||||
await checkForUpdates();
|
||||
},
|
||||
},
|
||||
{ type: "separator" },
|
||||
{
|
||||
label: "Learn More",
|
||||
click: async () => {
|
||||
@@ -134,13 +142,6 @@ const menulayout = [
|
||||
);
|
||||
},
|
||||
},
|
||||
{
|
||||
label: "Check for Updates...",
|
||||
id: "check-for-updates",
|
||||
click: async () => {
|
||||
await checkForUpdates();
|
||||
},
|
||||
},
|
||||
{
|
||||
label: "Open Logs Folder",
|
||||
click: async () => {
|
||||
@@ -183,6 +184,18 @@ const menulayout = [
|
||||
},
|
||||
]
|
||||
: []),
|
||||
...(!process.platform === "darwin"
|
||||
? [
|
||||
{
|
||||
label: "Check for Updates...",
|
||||
id: "check-for-updates",
|
||||
click: async () => {
|
||||
await checkForUpdates();
|
||||
},
|
||||
},
|
||||
]
|
||||
: []),
|
||||
...(!process.platform === "darwin" ? [{ type: "separator" }] : []),
|
||||
...(!process.platform === "darwin"
|
||||
? [
|
||||
{
|
||||
@@ -195,17 +208,6 @@ const menulayout = [
|
||||
},
|
||||
]
|
||||
: []),
|
||||
...(!process.platform === "darwin"
|
||||
? [
|
||||
{
|
||||
label: "Check for Updates...",
|
||||
id: "check-for-updates",
|
||||
click: async () => {
|
||||
await checkForUpdates();
|
||||
},
|
||||
},
|
||||
]
|
||||
: []),
|
||||
...(!process.platform === "darwin"
|
||||
? [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user