From 9763bd61aad275a06fa550d8bade89ab5976b5a2 Mon Sep 17 00:00:00 2001 From: Kolja Lampe Date: Sat, 20 Aug 2016 12:44:31 +0200 Subject: [PATCH 1/2] Bump electron builder --- package.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index b20ac4b4880..7fcf57d16c2 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,10 @@ "engines": { "node": ">=4.2.0" }, + "repository": { + "type": "git", + "url": "git://github.com/mattermost/desktop.git" + }, "scripts": { "install": "cd src && npm install", "postinstall": "npm run build", @@ -36,7 +40,7 @@ "chai": "^3.5.0", "chai-as-promised": "^5.3.0", "devtron": "^1.3.0", - "electron-builder": "5.2.1", + "electron-builder": "7.10.2", "electron-connect": "~0.3.9", "electron-packager": "^7.0.1", "electron-prebuilt": "1.2.8", From f9d741aa62c386dcd322b2ff86e1a8f1c43cdbb7 Mon Sep 17 00:00:00 2001 From: Kolja Lampe Date: Sat, 20 Aug 2016 12:44:31 +0200 Subject: [PATCH 2/2] Make sure release directories are there before trying to copy to them --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 7fcf57d16c2..760bf1360d8 100644 --- a/package.json +++ b/package.json @@ -28,7 +28,7 @@ "package:windows": "gulp package:windows", "package:osx": "gulp package:osx", "package:linux": "gulp build && build --platform linux --arch all && npm run linux-additions", - "linux-additions": "cp resources/icon.png resources/linux/create_desktop_file.sh release/linux/ && cp resources/icon.png resources/linux/create_desktop_file.sh release/linux-ia32/", + "linux-additions": "mkdir -p release/linux/ && cp resources/icon.png resources/linux/create_desktop_file.sh release/linux/ && mkdir -p release/linux-ia32/ && cp resources/icon.png resources/linux/create_desktop_file.sh release/linux-ia32/", "package:all": "gulp package:all", "prettify": "gulp prettify", "installer": "node ./script/installer.js"