From 3327e17ae22fd127107c616853216ae8309a2e38 Mon Sep 17 00:00:00 2001 From: Michael Neale Date: Mon, 25 Nov 2024 09:26:58 +1100 Subject: [PATCH] feat: Macos sign (#326) --- ui/desktop/package.json | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ui/desktop/package.json b/ui/desktop/package.json index c31227251..7be487fd5 100644 --- a/ui/desktop/package.json +++ b/ui/desktop/package.json @@ -9,9 +9,8 @@ "package": "electron-forge package", "make": "electron-forge make", "publish": "electron-forge publish", - "test-e2e": "electron-forge start > /tmp/out.txt & ELECTRON_PID=$! && sleep 5 && if grep -q 'renderer: ChatWindow loaded' /tmp/out.txt; then echo 'process is running'; pkill -f electron; else echo 'not starting correctly'; cat /tmp/out.txt; pkill -f electron; exit 1; fi" - - + "test-e2e": "electron-forge start > /tmp/out.txt & ELECTRON_PID=$! && sleep 5 && if grep -q 'renderer: ChatWindow loaded' /tmp/out.txt; then echo 'process is running'; pkill -f electron; else echo 'not starting correctly'; cat /tmp/out.txt; pkill -f electron; exit 1; fi", + "sign-macos": "cd ./out/Goose-darwin-arm64 && codesign --deep --force --verify --sign \"Developer ID Application: Michael Neale (W2L75AE9HQ)\" Goose.app && ditto -c -k --sequesterRsrc --keepParent Goose.app Goose.zip" }, "devDependencies": { "@electron-forge/cli": "^7.5.0",