mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-23 03:06:38 +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",
|
"afterSign": "./afterSignHook.js",
|
||||||
"mac": {
|
"mac": {
|
||||||
|
"asar": false,
|
||||||
"category": "public.app-category.developer-tools",
|
"category": "public.app-category.developer-tools",
|
||||||
"hardenedRuntime": true,
|
"hardenedRuntime": true,
|
||||||
"entitlements": "entitlements.mac.plist",
|
"entitlements": "entitlements.mac.plist",
|
||||||
|
@ -12,6 +12,7 @@ files:
|
|||||||
- assets/icon.png
|
- assets/icon.png
|
||||||
- node_modules/**/*
|
- node_modules/**/*
|
||||||
mac:
|
mac:
|
||||||
|
asar: false
|
||||||
icon: assets/icon.icns
|
icon: assets/icon.icns
|
||||||
category: public.app-category.developer-tools
|
category: public.app-category.developer-tools
|
||||||
hardenedRuntime: true
|
hardenedRuntime: true
|
||||||
|
@ -55,7 +55,6 @@ const getApplicationEntryPoint = () => {
|
|||||||
if (isRunningInAsar()) {
|
if (isRunningInAsar()) {
|
||||||
return path.join(process.resourcesPath, 'app.asar')
|
return path.join(process.resourcesPath, 'app.asar')
|
||||||
}
|
}
|
||||||
|
|
||||||
const relativeEntryPoint = _.last(electron.remote.process.argv)
|
const relativeEntryPoint = _.last(electron.remote.process.argv)
|
||||||
|
|
||||||
const PROJECT_ROOT = path.join(__dirname, '..', '..', '..', '..')
|
const PROJECT_ROOT = path.join(__dirname, '..', '..', '..', '..')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user