Updater debug utility
This commit is contained in:
parent
e7e9021e3f
commit
759ced3417
14 changed files with 409 additions and 15 deletions
10
app/menu.ts
10
app/menu.ts
|
@ -24,6 +24,7 @@ type OptionsType = {
|
|||
openSupportPage: () => unknown;
|
||||
setupAsNewDevice: () => unknown;
|
||||
setupAsStandalone: () => unknown;
|
||||
forceUpdate: () => unknown;
|
||||
showAbout: () => unknown;
|
||||
showDebugLog: () => unknown;
|
||||
showKeyboardShortcuts: () => unknown;
|
||||
|
@ -52,6 +53,7 @@ export const createTemplate = (
|
|||
platform,
|
||||
setupAsNewDevice,
|
||||
setupAsStandalone,
|
||||
forceUpdate,
|
||||
showAbout,
|
||||
showDebugLog,
|
||||
showKeyboardShortcuts,
|
||||
|
@ -162,6 +164,14 @@ export const createTemplate = (
|
|||
},
|
||||
]
|
||||
: []),
|
||||
...(devTools && platform !== 'linux'
|
||||
? [
|
||||
{
|
||||
label: messages.forceUpdate.message,
|
||||
click: forceUpdate,
|
||||
},
|
||||
]
|
||||
: []),
|
||||
],
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue