Skip to content

Commit

Permalink
Fix error and success notices when parsing dumps
Browse files Browse the repository at this point in the history
  • Loading branch information
erssebaggala committed May 8, 2019
1 parent 315c54a commit 0afa17f
Show file tree
Hide file tree
Showing 17 changed files with 1,193 additions and 35,187 deletions.
6 changes: 5 additions & 1 deletion .gitignore
@@ -1,3 +1,7 @@
node_modules
dist
build
build
/nbproject/private/
*.log
venv
nbproject
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -9,7 +9,7 @@ platform desktop app develop with electron.
## Running in dev mode
```
> git clone repo_url
> bts-ce-lite
> cd bts-ce-lite
> npm install
> npm run dev
```
Expand Down
61 changes: 61 additions & 0 deletions electron-build.js
@@ -0,0 +1,61 @@
"use strict";

const builder = require("electron-builder");
const Platform = builder.Platform;

builder.build({
targets: Platform.WINDOWS.createTarget(),
config: {
"appId": "com.bodastage.btscelite",
"productName": "BTS-CE-Lite",
"copyright": "Copyright © 2019 ${author}",
"files": [
"./build/**/*",
"./src/electron-start.js",
"package.json"
],
"extraMetadata": {
"main": "./src/electron-start.js"
},
"dmg": {
"contents": [
{
"x": 110,
"y": 150
},
{
"x": 240,
"y": 150,
"type": "link",
"path": "/Applications"
}
]
},
"linux": {
"target": [
"AppImage",
"deb"
]
},
"win": {
"target": "NSIS",
"icon": "build/icon.ico"
},
"directories": {
"buildResources": "assets"
},
"publish": {
"provider": "github",
"owner": "bodastage",
"repo": "bts-ce-lite",
"private": false
}
}
})
.then(() => {
console.log('Build OK!');
})
.catch((error) => {
// handle error
console.log(error);
})
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0afa17f

Please sign in to comment.