Skip to content

Commit b2017a4

Browse files
committed
Adding about option under help menu
1 parent ea26784 commit b2017a4

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

main.js

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,19 @@ const template = [
218218
await shell.openExternal('https://rapidpowerestimator.readthedocs.io/en/latest/');
219219
},
220220
},
221+
{
222+
label: 'About',
223+
click: () => {
224+
dialog.showMessageBox(mainWindow, {
225+
type: 'info',
226+
title: 'Rapid Power Estimator',
227+
message: 'Rapid Power Estimator\nVersion: 0.0.1\nAuthor: © 2024 Rapid Silicon Inc. \nType: Engineering',
228+
buttons: ['OK'],
229+
});
230+
},
231+
},
221232
],
222-
},
233+
},
223234
];
224235

225236
const startFlaskServer = () => {

0 commit comments

Comments
 (0)