diff --git a/.github/workflows/release-assets.yml b/.github/workflows/release-assets.yml index 0762e27d..bd13a007 100644 --- a/.github/workflows/release-assets.yml +++ b/.github/workflows/release-assets.yml @@ -54,6 +54,7 @@ jobs: draft: true prerelease: true files: | + !dist-release/builder-debug.yml dist-release/*.exe dist-release/*.zip dist-release/*.dmg @@ -64,6 +65,5 @@ jobs: dist-release/*.tar.gz dist-release/*.yml dist-release/*.blockmap - !dist-release/builder-debug.yml env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} \ No newline at end of file diff --git a/electron/main.js b/electron/main.js index 4013c710..0a0ee747 100644 --- a/electron/main.js +++ b/electron/main.js @@ -78,14 +78,9 @@ function createWindow() { events(mainWindow) } -// Quit when all windows are closed, except on macOS. There, it's common -// for applications and their menu bar to stay active until the user quits -// explicitly with Cmd + Q. app.on('window-all-closed', () => { - if (process.platform !== 'darwin') { - app.quit() - mainWindow = null - } + app.quit() + mainWindow = null }) app.on('activate', () => {