1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-06 09:19:22 +02:00

Desktop: Remove support for buggy asar packing as it breaks notifications on macOS. Also make sure only DMG is built for macOS.

This commit is contained in:
Laurent Cozic
2020-11-27 12:40:43 +00:00
parent dfa928c1f7
commit 46c38ce0e0

View File

@@ -32,7 +32,7 @@
"build/images/*" "build/images/*"
], ],
"afterAllArtifactBuild": "./generateSha512.js", "afterAllArtifactBuild": "./generateSha512.js",
"asar": true, "asar": false,
"asarUnpack": "./node_modules/node-notifier/vendor/**", "asarUnpack": "./node_modules/node-notifier/vendor/**",
"win": { "win": {
"rfc3161TimeStampServer": "http://timestamp.comodoca.com/rfc3161", "rfc3161TimeStampServer": "http://timestamp.comodoca.com/rfc3161",
@@ -72,7 +72,8 @@
"artifactName": "${productName}Portable.${ext}" "artifactName": "${productName}Portable.${ext}"
}, },
"mac": { "mac": {
"icon": "../../Assets/macOs.icns" "icon": "../../Assets/macOs.icns",
"target": "dmg"
}, },
"linux": { "linux": {
"icon": "../../Assets/LinuxIcons", "icon": "../../Assets/LinuxIcons",