Add default update fields to package.json

This commit is contained in:
Fedor Indutny 2023-12-12 22:30:16 +01:00 committed by GitHub
parent 31bbec19ee
commit 69aa212352
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View file

@ -356,7 +356,9 @@
"mergeASARs": true,
"releaseInfo": {
"vendor": {
"minOSVersion": "19.0.0"
"minOSVersion": "19.0.0",
"requireManualUpdate": false,
"requireUserConfirmation": false
}
},
"singleArchFiles": "node_modules/@signalapp/{libsignal-client/prebuilds/**,ringrtc/build/**}",
@ -397,7 +399,9 @@
],
"releaseInfo": {
"vendor": {
"minOSVersion": "10.0.10240"
"minOSVersion": "10.0.10240",
"requireManualUpdate": false,
"requireUserConfirmation": false
}
},
"signDlls": true,

View file

@ -49,8 +49,8 @@ import {
const INTERVAL = 30 * durations.MINUTE;
type JSONVendorSchema = {
requireManualUpdate?: boolean;
minOSVersion?: string;
requireManualUpdate?: boolean;
requireUserConfirmation?: boolean;
};