@@ -80,23 +80,26 @@ const config = {
80
80
} ,
81
81
buildDependenciesFromSource : false ,
82
82
npmRebuild : false ,
83
- beforePack : async ( context ) => {
83
+ beforePack : async context => {
84
84
context . packager . config . extraResources = DEFAULT_ASSETS ;
85
85
86
86
// universal build, add both pkg files
87
87
// this is hack to avoid issue https://github.com/electron/universal/issues/36
88
- if ( context . appOutDir . endsWith ( 'mac-universal-x64-temp' ) || context . appOutDir . endsWith ( 'mac-universal-arm64-temp' ) ) {
89
- context . packager . config . extraResources = DEFAULT_ASSETS ;
88
+ if (
89
+ context . appOutDir . endsWith ( 'mac-universal-x64-temp' ) ||
90
+ context . appOutDir . endsWith ( 'mac-universal-arm64-temp' )
91
+ ) {
92
+ context . packager . config . extraResources = DEFAULT_ASSETS ;
90
93
context . packager . config . extraResources . push ( 'extensions/podman/assets/podman-installer-macos-universal*.pkg' ) ;
91
94
return ;
92
95
}
93
96
94
- if ( context . arch === Arch . arm64 && context . electronPlatformName === 'darwin' ) {
97
+ if ( context . arch === Arch . arm64 && context . electronPlatformName === 'darwin' ) {
95
98
context . packager . config . extraResources . push ( 'extensions/podman/assets/podman-installer-macos-aarch64-*.pkg' ) ;
96
99
context . packager . config . extraResources . push ( 'extensions/podman/assets/podman-image-arm64.zst' ) ;
97
100
}
98
101
99
- if ( context . arch === Arch . x64 && context . electronPlatformName === 'darwin' ) {
102
+ if ( context . arch === Arch . x64 && context . electronPlatformName === 'darwin' ) {
100
103
context . packager . config . extraResources . push ( 'extensions/podman/assets/podman-installer-macos-amd64-*.pkg' ) ;
101
104
context . packager . config . extraResources . push ( 'extensions/podman/assets/podman-image-x64.zst' ) ;
102
105
}
@@ -202,12 +205,12 @@ const config = {
202
205
protocols : {
203
206
name : 'Podman Desktop' ,
204
207
schemes : [ 'podman-desktop' ] ,
205
- role : " Editor"
208
+ role : ' Editor' ,
206
209
} ,
207
210
publish : {
208
211
provider : 'github' ,
209
212
timeout : 10000 ,
210
- }
213
+ } ,
211
214
/*extraMetadata: {
212
215
version: process.env.VITE_APP_VERSION,
213
216
},*/
@@ -217,14 +220,14 @@ const config = {
217
220
if ( process . env . AIRGAP_DOWNLOAD ) {
218
221
config . publish = {
219
222
publishAutoUpdate : false ,
220
- provider : 'github'
223
+ provider : 'github' ,
221
224
} ;
222
225
}
223
226
224
227
if ( process . env . APPLE_TEAM_ID ) {
225
228
config . mac . notarize = {
226
229
teamId : process . env . APPLE_TEAM_ID ,
227
- }
230
+ } ;
228
231
}
229
232
230
233
const azureCodeSign = filePath => {
0 commit comments