Desktop: Use asar packing to improve performances (#2531)

* Use the strongly recommended asar packing on linux

* Use asar for macOS packaging

* Update package.json

Co-authored-by: Laurent Cozic <laurent22@users.noreply.github.com>
pull/2594/head
R-L-T-Y 2020-02-26 17:39:24 -06:00 committed by GitHub
parent 16fb1bda53
commit ef8af13500
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -26,6 +26,7 @@
"build/images/*" "build/images/*"
], ],
"win": { "win": {
"asar": true,
"rfc3161TimeStampServer": "http://sha256timestamp.ws.symantec.com/sha256/timestamp", "rfc3161TimeStampServer": "http://sha256timestamp.ws.symantec.com/sha256/timestamp",
"icon": "../../Assets/Joplin.ico", "icon": "../../Assets/Joplin.ico",
"target": [ "target": [
@ -54,10 +55,10 @@
}, },
"mac": { "mac": {
"icon": "../../Assets/macOs.icns", "icon": "../../Assets/macOs.icns",
"asar": false "asar": true
}, },
"linux": { "linux": {
"asar": false, "asar": true,
"category": "Office", "category": "Office",
"desktop": { "desktop": {
"Icon": "joplin" "Icon": "joplin"