From 94450676b63349662c61b3fa32242976014b0e2d Mon Sep 17 00:00:00 2001 From: absidue <48293849+absidue@users.noreply.github.com> Date: Sat, 18 Jul 2026 01:42:38 +0200 Subject: [PATCH] Explicitly configure ad-hoc codesigning after electron-builder changes (#9444) --- _scripts/ebuilder.config.mjs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/_scripts/ebuilder.config.mjs b/_scripts/ebuilder.config.mjs index 095390951..f92b33c18 100644 --- a/_scripts/ebuilder.config.mjs +++ b/_scripts/ebuilder.config.mjs @@ -96,7 +96,12 @@ export default { NSBluetoothPeripheralUsageDescription: undefined, NSCameraUsageDescription: undefined, NSMicrophoneUsageDescription: undefined, - } + }, + + // Enable ad-hoc signing + // If we skip signing entirely, macOS says that the application is damaged, which makes users open bug reports. + // With an ad-hoc signature it still refuses to launch by default but with the reason that it cannot verify the signature + identity: '-' }, win: { icon: '_icons/icon.ico',