Don't pack files in an asar archive on macOS

Change-type: patch
This commit is contained in:
Alexis Svinartchouk 2019-10-25 17:24:29 +02:00
parent c4944f31d6
commit 64a28f891f
3 changed files with 2 additions and 1 deletions

View File

@ -80,6 +80,7 @@
],
"afterSign": "./afterSignHook.js",
"mac": {
"asar": false,
"category": "public.app-category.developer-tools",
"hardenedRuntime": true,
"entitlements": "entitlements.mac.plist",

View File

@ -12,6 +12,7 @@ files:
- assets/icon.png
- node_modules/**/*
mac:
asar: false
icon: assets/icon.icns
category: public.app-category.developer-tools
hardenedRuntime: true

View File

@ -55,7 +55,6 @@ const getApplicationEntryPoint = () => {
if (isRunningInAsar()) {
return path.join(process.resourcesPath, 'app.asar')
}
const relativeEntryPoint = _.last(electron.remote.process.argv)
const PROJECT_ROOT = path.join(__dirname, '..', '..', '..', '..')