proper closing, metadata file locations moved

This commit is contained in:
michalcourson
2026-03-01 13:48:31 -05:00
parent 801966e8d8
commit d37cd773f8
10 changed files with 483 additions and 40 deletions

View File

@ -132,6 +132,9 @@ const createWindow = async () => {
label: 'Quit',
click: () => {
pythonManager.stop();
tray?.destroy();
mainWindow.close();
mainWindow.destroy();
app.quit();
},
},
@ -160,9 +163,9 @@ app.on('window-all-closed', () => {
app
.whenReady()
.then(() => {
if (app.isPackaged) {
pythonManager.start();
}
// if (app.isPackaged) {
pythonManager.start();
// }
createWindow();
app.on('activate', () => {
// On macOS it's common to re-create a window in the app when the