Merge pull request #1260 from Bilb/fix-app-start-with-pw

pull/1273/head
Audric Ackermann 5 years ago committed by GitHub
commit 263a4ba149
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -21,19 +21,18 @@ window.getEnvironment = () => config.environment;
window.getVersion = () => config.version;
window.getAppInstance = () => config.appInstance;
// So far we're only using this for Signal.Types
const Signal = require('./js/modules/signal');
const electron = require('electron');
const ipc = electron.ipcRenderer;
window.Signal = Signal.setup({
Attachments: null,
userDataPath: null,
getRegionCode: () => null,
});
window.Signal.Logs = require('./js/modules/logs');
const {
SessionPasswordPrompt,
} = require('./ts/components/session/SessionPasswordPrompt');
window.Signal = {
Components: {
SessionPasswordPrompt,
},
}
window.CONSTANTS = {
MAX_LOGIN_TRIES: 3,

Loading…
Cancel
Save