Rearrange MS-365-Electron menu

This commit is contained in:
Agampreet Singh
2023-06-12 00:35:08 +05:30
parent dd8110479b
commit d2ed102ccc

View File

@@ -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"
? [
{