mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 17:06:15 -08:00
2 files changed
+33
No files matched your search
@@ -51,6 +51,36 @@ $ sudo snap install iptvnator
|
||||
|
||||
[](https://snapcraft.io/iptvnator)
|
||||
|
||||
<a href="https://www.buymeacoffee.com/4gray" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/default-green.png" alt="Buy Me A Coffee" width="185"></a>
|
||||
|
||||
## How to build
|
||||
|
||||
Requirements: node.js with npm.
|
||||
|
||||
1. Clone this repository and install all project dependencies with:
|
||||
```
|
||||
$ npm install
|
||||
```
|
||||
|
||||
2. To build the application on your local machine use one of the following commands:
|
||||
```
|
||||
# linux
|
||||
$ npm run electron:build:linux
|
||||
```
|
||||
|
||||
```
|
||||
#mac
|
||||
$ npm run electron:build:mac
|
||||
```
|
||||
|
||||
```
|
||||
# windows
|
||||
$ npm run electron:build:windows
|
||||
```
|
||||
|
||||
This command will produce the distributable assets in the `release` folder based on the configuration from electron-builder which is stored in `electron-builder.json` and `package.json`. Check the [API description of electron-builder](https://www.electron.build/) and adapt the configuration if you need some special configuration for you environment.
|
||||
|
||||
*Note: Don’t expect that you can build app for all platforms on one platform. [Read details](https://www.electron.build/multi-platform-build)*
|
||||
|
||||
## Disclaimer
|
||||
|
||||
|
||||
@@ -33,6 +33,9 @@
|
||||
"electron:serve": "wait-on tcp:4200 && npm run electron:serve-tsc && npx electron . --serve",
|
||||
"electron:local": "npm run build:prod && npx electron .",
|
||||
"electron:build": "npm run build:prod && electron-builder build",
|
||||
"electron:build:mac": "npm run build:prod && electron-builder build -m",
|
||||
"electron:build:linux": "npm run build:prod && electron-builder build -l --x64 --ia32 --arm64 --armv7l",
|
||||
"electron:build:windows": "npm run build:prod && electron-builder build -w",
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch",
|
||||
"e2e": "npm run build:prod && cross-env TS_NODE_PROJECT='e2e/tsconfig.e2e.json' mocha e2e/**/*.ts --config ./.mocharc.json --exit",
|
||||
|
||||
Reference in new issue
Block a user