From 4cbfffe69a7bb0b0ac96d347f5aff360f79633ce Mon Sep 17 00:00:00 2001 From: Kolja Lampe Date: Sat, 20 Aug 2016 12:44:31 +0200 Subject: [PATCH] Bump electron builder --- gulpfile.js | 2 +- package.json | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 659ecac5e6b..52a3d48d7f0 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -275,6 +275,6 @@ gulp.task('sync-meta', function() { appPackageJson.version = packageJson.version; appPackageJson.description = packageJson.description; appPackageJson.author = packageJson.author; - appPackageJson.license = packageJson.license; + appPackageJson.license = "Apache-2.0"; fs.writeFileSync('./src/package.json', JSON.stringify(appPackageJson, null, ' ') + '\n'); }); diff --git a/package.json b/package.json index b20ac4b4880..327e4dd814d 100644 --- a/package.json +++ b/package.json @@ -8,10 +8,13 @@ "name": "Yuya Ochiai", "email": "yuya0321@gmail.com" }, - "license": "Apache-2.0", "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", @@ -24,7 +27,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 resources/linux && 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/", "package:all": "gulp package:all", "prettify": "gulp prettify", "installer": "node ./script/installer.js" @@ -36,7 +39,7 @@ "chai": "^3.5.0", "chai-as-promised": "^5.3.0", "devtron": "^1.3.0", - "electron-builder": "5.2.1", + "electron-builder": "7.9.0", "electron-connect": "~0.3.9", "electron-packager": "^7.0.1", "electron-prebuilt": "1.2.8",