diff --git a/.travis.yml b/.travis.yml index f0f5c4c59f8bca5f163737e84474ca37cdacbc9f..8ec0e02c87fc97b22fe13d1ef6d870478b410c84 100644 --- a/.travis.yml +++ b/.travis.yml @@ -30,6 +30,7 @@ deploy: - ./dist/parity-ui_0.1.0_amd64.deb - ./dist/parity-ui_0.1.0_amd64.snap - ./dist/parity-ui-0.1.0-x86_64.AppImage + - ./dist/parity-ui-0.1.0.tar.xz skip_cleanup: true on: condition: $TRAVIS_OS_NAME = linux diff --git a/package.electron.json b/package.electron.json index c220dc0972e3f5f515518b101b038f822072ad1d..bf893ca5a4351d7c355b409fee407ef73fde2974 100644 --- a/package.electron.json +++ b/package.electron.json @@ -8,7 +8,8 @@ "target": [ "AppImage", "snap", - "deb" + "deb", + "tar.xz" ] }, "mac": { @@ -16,9 +17,9 @@ "icon": "./assets/icon/small-white-512x512.png" }, "nsis": { - "allowToChangeInstallationDirectory": true, "include": "./.build/installer.nsh", - "oneClick": false + "oneClick": true, + "perMachine": true }, "productName": "Parity UI", "win": { diff --git a/src/index.electron.js b/src/index.electron.js index 9d851e0b3e22109a7bbbee165956186777a68c44..eff08deead0f0718419676e64b8a532ee2e217cf 100644 --- a/src/index.electron.js +++ b/src/index.electron.js @@ -63,7 +63,7 @@ function createWindow () { ipcMain.on('asynchronous-message', (event, arg) => { // Run an instance of parity if we receive the `run-parity` message if (arg === 'run-parity') { - parity = spawn(global.parityInstallLocation); + parity = spawn(global.parityInstallLocation, ['--ws-origins', 'parity://*.ui.parity']); // Argument for retro-compatibility with <1.10 versions } });