First pass on CI support

This commit is contained in:
Fedor Indutny 2021-03-25 19:02:53 -07:00 committed by GitHub
parent 746e99b8c2
commit 990e501850
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 55 additions and 19 deletions

View file

@ -518,6 +518,10 @@ try {
getRegionCode: () => window.storage.get('regionCode'),
logger: window.log,
});
window.CI = config.enableCI && {
setProvisioningURL: url => ipc.send('set-provisioning-url', url),
deviceName: title,
};
// these need access to window.Signal:
require('./ts/models/messages');