Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Commit

Permalink
mac os features back
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunarequest committed Nov 6, 2022
1 parent 1fc4837 commit 7da7bdd
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,9 @@ app.whenReady().then(() => {
});

app.on('window-all-closed', () => {
app.quit();
if (process.platform !== 'darwin') {
app.quit();
}
});

app.on('activate', () => {
Expand Down
16 changes: 15 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,20 @@
"portable"
],
"icon": "build/icon.ico"
}
},
"mac": {
"icon": "build/icon.iconset",
"category": "public.app-category.productivity",
"target": [
"dmg",
"zip"
],
"bundleVersion": "1",
"artifactName": "NightPDF-${version}.${ext}",
"darkModeSupport": true,
"hardenedRuntime": true,
"gatekeeperAssess": false,
"type": "distribution"
}
}
}

0 comments on commit 7da7bdd

Please sign in to comment.