mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-22 10:46:31 +00:00
Don't pack files in an asar archive on macOS
Change-type: patch
This commit is contained in:
parent
c4944f31d6
commit
64a28f891f
@ -80,6 +80,7 @@
|
||||
],
|
||||
"afterSign": "./afterSignHook.js",
|
||||
"mac": {
|
||||
"asar": false,
|
||||
"category": "public.app-category.developer-tools",
|
||||
"hardenedRuntime": true,
|
||||
"entitlements": "entitlements.mac.plist",
|
||||
|
@ -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
|
||||
|
@ -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, '..', '..', '..', '..')
|
||||
|
Loading…
x
Reference in New Issue
Block a user