Skip code signing for the Darwin Nix package

This commit is contained in:
Ivan Malison
2026-07-31 23:38:46 +00:00
committed by Mohamed Boudra
parent 7d4100a021
commit a8637d4bbc
+4
View File
@@ -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
) )
''} ''}