Skip to content

Commit

Permalink
add linux icon, update electron version to 0.37.2
Browse files Browse the repository at this point in the history
  • Loading branch information
dbackowski committed Mar 19, 2016
1 parent a0db31a commit 56467c9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Binary file added app/images/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ function createAboutWindow() {
}

function createMainWindow() {
mainWindow = new BrowserWindow({width: 800, height: 600, title: 'MdEditor'});
mainWindow = new BrowserWindow({width: 800, height: 600, title: 'MdEditor', icon: __dirname + '/app/images/icon.png'});
mainWindow.loadURL('file://' + __dirname + '/app/index.html');
//mainWindow.maximize();

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "main.js",
"scripts": {
"start": "electron main.js",
"build": "electron-packager ./ --overwrite --platform=darwin,linux --icon=./app/images/icon --arch=x64 --version=0.36.10"
"build": "electron-packager ./ --platform=darwin,linux --overwrite --icon=./app/images/icon --arch=x64 --version=0.37.2"
},
"repository": {
"type": "git",
Expand All @@ -16,7 +16,7 @@
"devDependencies": {
"electron-html-to": "^2.0.2",
"electron-packager": "^5.2.1",
"electron-prebuilt": "^0.36.10",
"electron-prebuilt": "^0.37.2",
"jspdf": "^1.2.61"
}
}

0 comments on commit 56467c9

Please sign in to comment.