Skip to content

Commit

Permalink
File cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanleesipes committed Apr 5, 2017
1 parent 0b0af8a commit 1e463f5
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 19 deletions.
13 changes: 0 additions & 13 deletions deb_config/config.json

This file was deleted.

1 change: 1 addition & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ app.on('ready', () => {
mainWindowState.manage(mainWindow);

const page = mainWindow.webContents;

page.on('dom-ready', () => {
page.insertCSS(
fs.readFileSync(path.join(__dirname, 'browser.css'), 'utf8'));
Expand Down
17 changes: 11 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,14 @@
"main": "main.js",
"scripts": {
"start": "electron .",
"build": "electron-packager . app --platform linux --arch x64 --out dist/ --icon=resources/icon.png",
"deb64": "electron-installer-debian --src dist/app-linux-x64/ --arch amd64 --config deb_config/config.json"
"dist": "build"
},
"build": {
"appId": "me.ryanleesipes.desktop-habitica",
"icon": "build/icons/*",
"linux": {
"target": ["snap"]
}
},
"repository": {
"type": "git",
Expand All @@ -25,10 +31,9 @@
},
"homepage": "https://github.com/ryanleesipes/desktop-habitica#readme",
"devDependencies": {
"electron-installer-debian": "*",
"electron-packager": "*",
"electron": "*",
"electron-window-state": "*"
"electron-builder": "latest",
"electron": "latest",
"electron-window-state": "latest"
},
"dependencies": {
"electron-window-state": "*"
Expand Down
Binary file removed resources/icon.png
Binary file not shown.

0 comments on commit 1e463f5

Please sign in to comment.