File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ const fileName = process.env.NATIVEPHP_APP_FILENAME;
1010const appVersion = process . env . NATIVEPHP_APP_VERSION ;
1111const appCopyright = process . env . NATIVEPHP_APP_COPYRIGHT ;
1212const deepLinkProtocol = process . env . NATIVEPHP_DEEPLINK_SCHEME ;
13+ const updaterEnabled = process . env . NATIVEPHP_UPDATER_ENABLED === 'true' ;
1314
1415// Azure signing configuration
1516const azurePublisherName = process . env . NATIVEPHP_AZURE_PUBLISHER_NAME ;
@@ -129,11 +130,13 @@ export default {
129130 artifactName : appName + '-${version}.${ext}' ,
130131 } ,
131132 npmRebuild : false ,
132- publish : updaterConfig ,
133133 extraMetadata : {
134134 name : fileName ,
135135 homepage : appUrl ,
136136 version : appVersion ,
137137 author : appAuthor ,
138- }
138+ } ,
139+ ...updaterEnabled
140+ ? { publish : updaterConfig }
141+ : { }
139142} ;
You can’t perform that action at this time.
0 commit comments