File tree Expand file tree Collapse file tree 3 files changed +16
-5
lines changed
Expand file tree Collapse file tree 3 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 1+ # .github/workflows/build.yml
12name : Build and Package Desktop App
23
34on :
Original file line number Diff line number Diff line change 4545 "mac" : {
4646 "category" : " public.app-category.utilities" ,
4747 "icon" : " assets/icons/unicorn.icns" ,
48- "target" : " dmg" ,
48+ "target" : [
49+ " dmg" ,
50+ " zip"
51+ ],
52+ "gatekeeperAssess" : false ,
4953 "hardenedRuntime" : true ,
5054 "entitlements" : " entitlements.mac.plist" ,
5155 "entitlementsInherit" : " entitlements.mac.plist" ,
52- "gatekeeperAssess" : false
56+ "asarUnpack" : [
57+ " **/*.{json,gz,txt,dat}"
58+ ],
59+ "notarize" : false
5360 },
54- "afterSign" : " ./ scripts/notarize.js" ,
61+ "afterSign" : " scripts/notarize.js" ,
5562 "win" : {
5663 "icon" : " assets/icons/unicorn.ico" ,
5764 "target" : [
7077 "concurrently" : " ^9.1.2" ,
7178 "cross-env" : " ^7.0.3" ,
7279 "electron" : " ^35.1.0" ,
73- "electron-builder" : " ^24.0.0"
80+ "electron-builder" : " ^24.0.0" ,
81+ "electron-notarize" : " ^1.2.2"
7482 },
7583 "dependencies" : {
7684 "playwright" : " ^1.52.0" ,
Original file line number Diff line number Diff line change 1+ // scripts/notarize.js
12const { notarize } = require ( "electron-notarize" ) ;
23
34exports . default = async function notarizing ( context ) {
45 const { electronPlatformName, appOutDir } = context ;
56 if ( electronPlatformName !== "darwin" ) return ;
67
78 return await notarize ( {
9+ tool : "notarytool" ,
810 appBundleId : "com.jaaz.app" ,
9- appPath : `${ appOutDir } /Jaaz.app` , // Replace with your actual .app name
11+ appPath : `${ appOutDir } /Jaaz.app` ,
1012 appleId : process . env . APPLE_ID ,
1113 appleIdPassword : process . env . APPLE_APP_PASSWORD ,
1214 teamId : process . env . TEAM_ID ,
You can’t perform that action at this time.
0 commit comments