Skip to content

Commit

Permalink
Added build script
Browse files Browse the repository at this point in the history
  • Loading branch information
anshumanv committed Nov 3, 2017
1 parent 5d833f3 commit b093e2c
Show file tree
Hide file tree
Showing 3 changed files with 160 additions and 3 deletions.
103 changes: 103 additions & 0 deletions app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 50 additions & 0 deletions electron-builder.json
@@ -0,0 +1,50 @@
{
"productName": "SUSI Desktop",
"appId": "org.fossasia.susi_desktop",
"asar": "true",
"linux": {
"packageCategory": "GNOME;GTK;Network;AI",
"description": "SUSI Desktop Client for Linux",
"target": [
"deb",
"zip",
"AppImage"
],
"maintainer": "Mario Behling"
},
"dmg": {
"icon": "app/resources/icon.png",
"iconSize": 128,
"contents": [
{
"x": 380,
"y": 240,
"type": "link",
"path": "/Applications"
},
{
"x": 122,
"y": 240,
"type": "file"
}
]
},
"win": {
"target": [
{
"target": "nsis-web",
"arch": [
"x64",
"ia32"
]
}
],
"icon": "app/resources/icon.ico",
"publisherName": "FOSSASIA"
},
"nsis": {
"perMachine": true,
"oneClick": false,
"allowToChangeInstallationDirectory": true
}
}
10 changes: 7 additions & 3 deletions package.json
@@ -1,14 +1,18 @@
{
"name": "susi_desktop",
"version": "0.0.1",
"description": "Susi AI Desktop Client",
"description": "SUSI AI Desktop Client",
"license": "LGPL-2.1",
"email": "<anshu.av97@gmail.com>",
"main": "app",
"bin": {
"susi": "app/main/index.js"
},
"scripts": {
"start": "electron app",
"test": "xo"
"test": "xo",
"pack": "electron-builder",
"dist": "electron-builder --dir"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -77,5 +81,5 @@
"browser",
"mocha"
]
}
}
}

0 comments on commit b093e2c

Please sign in to comment.