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;
10
10
const appVersion = process . env . NATIVEPHP_APP_VERSION ;
11
11
const appCopyright = process . env . NATIVEPHP_APP_COPYRIGHT ;
12
12
const deepLinkProtocol = process . env . NATIVEPHP_DEEPLINK_SCHEME ;
13
+ const updaterEnabled = process . env . NATIVEPHP_UPDATER_ENABLED === 'true' ;
13
14
14
15
// Azure signing configuration
15
16
const azurePublisherName = process . env . NATIVEPHP_AZURE_PUBLISHER_NAME ;
@@ -129,11 +130,13 @@ export default {
129
130
artifactName : appName + '-${version}.${ext}' ,
130
131
} ,
131
132
npmRebuild : false ,
132
- publish : updaterConfig ,
133
133
extraMetadata : {
134
134
name : fileName ,
135
135
homepage : appUrl ,
136
136
version : appVersion ,
137
137
author : appAuthor ,
138
- }
138
+ } ,
139
+ ...updaterEnabled
140
+ ? { publish : updaterConfig }
141
+ : { }
139
142
} ;
You can’t perform that action at this time.
0 commit comments