Skip to content

Commit

Permalink
fix: desktop wallet on Windows is still open leads to a white screen
Browse files Browse the repository at this point in the history
ref #964
  • Loading branch information
forbesus committed Nov 19, 2024
1 parent 283fd2d commit 4378e45
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion apps/desktop-wallet/public/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,19 @@ const template = [
...(isMac
? []
: isWindows
? [{ role: 'about' }, { type: 'separator' }]
? [
{
label: `About ${app.getName()}`,
click: async () => {
dialog.showMessageBoxSync(mainWindow, {
message: `Version ${CURRENT_VERSION}`,
title: app.getName(),
type: 'info'
})
}
},
{ type: 'separator' }
]
: [
{
label: 'About',
Expand Down

0 comments on commit 4378e45

Please sign in to comment.