proper closing, metadata file locations moved
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user