diff --git a/electron/src/electron-main.js b/electron/src/electron-main.js index 788d46028c..2b135a03ed 100644 --- a/electron/src/electron-main.js +++ b/electron/src/electron-main.js @@ -156,8 +156,12 @@ electron.app.on('ready', () => { console.log("No update_base_url is defined: auto update is disabled"); } + const icon_path = `${__dirname}/../img/riot.` + ( + process.platform == 'win32' ? 'ico' : 'png' + ); + mainWindow = new electron.BrowserWindow({ - icon: `${__dirname}/../img/riot.ico`, + icon: icon_path, width: 1024, height: 768, show: false, }); diff --git a/scripts/redeploy.py b/scripts/redeploy.py index 6e6e64aa15..fddd5da96d 100755 --- a/scripts/redeploy.py +++ b/scripts/redeploy.py @@ -127,7 +127,7 @@ def on_receive_jenkins_poke(): if __name__ == "__main__": parser = argparse.ArgumentParser("Runs a Vector redeployment server.") parser.add_argument( - "-j", "--jenkins", dest="jenkins", default="http://matrix.org/jenkins/", help=( + "-j", "--jenkins", dest="jenkins", default="https://matrix.org/jenkins/", help=( "The base URL of the Jenkins web server. This will be hit to get the\ built artifacts (the .gz file) for redeploying." ) diff --git a/src/vector/platform/ElectronPlatform.js b/src/vector/platform/ElectronPlatform.js index d6f4013a7f..3b41822bda 100644 --- a/src/vector/platform/ElectronPlatform.js +++ b/src/vector/platform/ElectronPlatform.js @@ -52,7 +52,7 @@ function platformFriendlyName() { // Sorry, Linux users: you get lumped into here, // but only because Linux's capitalisation is // normal. We do care about you. - return window.process.platform[0].toUpperCase + window.process.platform.slice(1); + return window.process.platform[0].toUpperCase() + window.process.platform.slice(1); } }