Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rahul-vashishtha/nodegui-deb-builder
Debian package builder for nodegui
https://github.com/rahul-vashishtha/nodegui-deb-builder
Last synced: 3 months ago
JSON representation
Debian package builder for nodegui
- Host: GitHub
- URL: https://github.com/rahul-vashishtha/nodegui-deb-builder
- Owner: rahul-vashishtha
- Created: 2020-05-06T05:11:51.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-05-13T07:50:49.000Z (over 1 year ago)
- Last Synced: 2024-05-18T19:09:44.685Z (6 months ago)
- Language: TypeScript
- Size: 10.7 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-nodegui - NodeGUI Debian Builder - Create .deb package distributable for NodeGUI Apps. (Tools / Samples and Experiments)
README
# nodegui-deb-builder
Debian package builder for nodegui (Based on nodegui-starter and nodegui-mvc-starter)
_Note: (As of now) This deb builder generates debian according to the structure of nodegui-starter and nodegui-mvc-starter._
## Building Source
- Clone the repository: `git clone https://github.com/rahul-vashishtha/nodegui-deb-builder.git`
- Install required packages using `npm install`
- Transpile the source by running `tsc`## Prequisites before building Debian Package
- Make sure you have updated `control` file according to your requirements
- Update the `.desktop` file in `/deploy/linux//` directory with following data.```
[Desktop Entry]
Name=Your Application Name
Exec="/usr/bin/"
Comment=Info about your application.
Terminal=false
Icon="/usr/lib//.png"
Type=Application
```The double quotes are used in-case there are spaces in your application name or icon name.
## Building Debian Package
- Copy the following to the root of your project folder:
- `deb-struct` directory
- `build-deb.js` file from ./dist folder.
- `control` file
- `deb-config.json` file (As of now this file has no use, but will be used in future)- Make sure you have created package using packaging guide from [NodeGUI Packer](https://github.com/nodegui/packer "Node GUI Packer"). _(This generates all the files required to build the Debian package.)_
- Run `node build-deb.js`. You'll find your .deb file in the root folder itself.## Roadmap
- Use deb-config.js to main config file to create `.desktop` and `control` file.