diff --git a/gulpfile.js b/gulpfile.js index 61ed0d27..3ff51433 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -190,7 +190,7 @@ function makePackage(platform, arch, callback) { prune: true, overwrite: true, "app-version": packageJson.version, - icon: 'resources/appicon', + icon: 'resources/icon', "version-string": { CompanyName: packageJson.author, LegalCopyright: 'Copyright (c) 2015 ' + packageJson.author, diff --git a/package.json b/package.json index 41548447..322ae96f 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "version": "1.1.1", "description": "Mattermost Desktop application for Windows, Mac and Linux", "main": "main.js", - "author": "Yuya Ochiai", + "author": "Yuya Ochiai ", "license": "MIT", "engines": { "node": ">=4.2.0" @@ -20,7 +20,7 @@ "package": "gulp package", "package:windows": "gulp package:windows", "package:osx": "gulp package:osx", - "package:linux": "gulp package:linux", + "package:linux": "gulp build && build --platform linux --arch all -d deb", "package:all": "gulp package:all", "prettify": "gulp prettify" }, @@ -30,6 +30,7 @@ "babel-preset-react": "^6.5.0", "chromedriver": "^2.20.0", "del": "^2.2.0", + "electron-builder": "^3.11.0", "electron-connect": "^0.3.7", "electron-packager": "^5.1.0", "electron-prebuilt": "0.37.3", @@ -50,5 +51,12 @@ "webdriverio": "^3.3.0", "webpack": "^1.12.15", "webpack-stream": "^3.1.0" + }, + "build":{ + }, + "directories":{ + "buildResources": "resources", + "app": "dist", + "output": "release" } } diff --git a/resources/appicon.icns b/resources/icon.icns similarity index 100% rename from resources/appicon.icns rename to resources/icon.icns diff --git a/resources/appicon.ico b/resources/icon.ico similarity index 100% rename from resources/appicon.ico rename to resources/icon.ico diff --git a/resources/appicon.png b/resources/icon.png similarity index 100% rename from resources/appicon.png rename to resources/icon.png diff --git a/src/package.json b/src/package.json index 59f3bf1e..31ba4823 100644 --- a/src/package.json +++ b/src/package.json @@ -4,7 +4,7 @@ "version": "1.1.1", "description": "Mattermost Desktop application for Windows, Mac and Linux", "main": "main.js", - "author": "Yuya Ochiai", + "author": "Yuya Ochiai ", "license": "MIT", "devDependencies": { "electron-connect": "^0.3.3"