Skip to content

Commit

Permalink
Merge pull request #2 from elmsln/packaging
Browse files Browse the repository at this point in the history
Packaging
  • Loading branch information
btopro authored Jun 10, 2020
2 parents 1d05bc2 + f491f91 commit 57987c9
Show file tree
Hide file tree
Showing 4 changed files with 2,743 additions and 83 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
node_modules
out/
41 changes: 39 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,56 @@
"main": "main.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "electron ."
"start": "electron-forge start",
"package": "electron-forge package",
"make": "electron-forge make"
},
"repository": {
"type": "git",
"url": "git+https://github.com/elmsln/HAXdesktop.git"
},
"author": "",
"author": "Duy Nguyen",
"license": "ISC",
"bugs": {
"url": "https://github.com/elmsln/HAXdesktop/issues"
},
"homepage": "https://github.com/elmsln/HAXdesktop#readme",
"devDependencies": {
"@electron-forge/cli": "6.0.0-beta.51",
"@electron-forge/maker-deb": "6.0.0-beta.51",
"@electron-forge/maker-rpm": "6.0.0-beta.51",
"@electron-forge/maker-squirrel": "6.0.0-beta.51",
"@electron-forge/maker-zip": "6.0.0-beta.51",
"electron": "^9.0.3"
},
"dependencies": {
"electron-squirrel-startup": "^1.0.0"
},
"config": {
"forge": {
"packagerConfig": {},
"makers": [
{
"name": "@electron-forge/maker-squirrel",
"config": {
"name": "haxdesktop"
}
},
{
"name": "@electron-forge/maker-zip",
"platforms": [
"darwin"
]
},
{
"name": "@electron-forge/maker-deb",
"config": {}
},
{
"name": "@electron-forge/maker-rpm",
"config": {}
}
]
}
}
}
2 changes: 2 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
## electron-forge
This Electron project uses [electron-forge](https://www.electronforge.io/) for building distributions. Run `npm run make` to build a distribution of the application based on your platform(Windows, MacOS, Linux). The application is located in the "out" folder after running the command.
Loading

0 comments on commit 57987c9

Please sign in to comment.