Enable screen sharing easter-egg in desktop app

This commit is contained in:
David Baker 2017-01-10 18:39:21 +00:00
parent 6a1af891b7
commit c5459a2f19
3 changed files with 14 additions and 0 deletions

View file

@ -148,6 +148,8 @@ process.on('uncaughtException', function (error) {
electron.ipcMain.on('install_update', installUpdate);
electron.app.commandLine.appendSwitch('--enable-usermedia-screen-capturing');
electron.app.on('ready', () => {
if (vectorConfig.update_base_url) {
console.log("Starting auto update with base URL: " + vectorConfig.update_base_url);