Skip code signing for the Darwin Nix package
This commit is contained in:
@@ -117,6 +117,8 @@ buildNpmPackage {
|
|||||||
chmod -R u+w "$electron_dist/Electron.app"
|
chmod -R u+w "$electron_dist/Electron.app"
|
||||||
(
|
(
|
||||||
cd packages/desktop
|
cd packages/desktop
|
||||||
|
# The Nix output is not a distributable DMG, so leave it unsigned and
|
||||||
|
# disable the hardened runtime that requires a matching signature.
|
||||||
CSC_IDENTITY_AUTO_DISCOVERY=false \
|
CSC_IDENTITY_AUTO_DISCOVERY=false \
|
||||||
../../node_modules/.bin/electron-builder \
|
../../node_modules/.bin/electron-builder \
|
||||||
--config electron-builder.yml \
|
--config electron-builder.yml \
|
||||||
@@ -124,6 +126,8 @@ buildNpmPackage {
|
|||||||
--mac \
|
--mac \
|
||||||
--publish never \
|
--publish never \
|
||||||
--config.electronDist="$electron_dist" \
|
--config.electronDist="$electron_dist" \
|
||||||
|
--config.mac.identity=null \
|
||||||
|
--config.mac.hardenedRuntime=false \
|
||||||
--config.mac.notarize=false
|
--config.mac.notarize=false
|
||||||
)
|
)
|
||||||
''}
|
''}
|
||||||
|
|||||||
Reference in New Issue
Block a user