1 { 2 "name": "JS.VPN-Client", 3 "version": "0.3.77", 4 "description": "VPN Client", 5 "main": "index.js", 6 "homepage": "https://github.com/JsusDev/JS.VPN-Client", 7 "build": { 8 "appId": "JS.VPN-Client", 9 "productName": "JS.VPN-Client", 10 "copyright": "JSus & Developments 2018", 11 "win": { 12 "target": "nsis", 13 "icon": "icon.ico", 14 "legalTrademarks": "JSus & Developments 2018", 15 "asar": false 16 } 17 }, 18 "author": { 19 "name": "JSus & Developments", 20 "email": "jsusdev@yandex.ru" 21 }, 22 "license": "ISC", 23 "dependencies": { 24 "child_process": "^1.0.2", 25 "fs": "^0.0.1-security", 26 "ipify": "^2.0.0", 27 "js-base64": "^2.4.9", 28 "request": "^2.88.0" 29 } 30 }
Line | Description |
---|---|
2 | Package Name (required) |
3 | Package / Application Version (Required) |
four | Package / Application Description |
five | Package entry point |
6 | Package / Application Home Page |
7 | Config object for electron-builder |
eight | ApplicationUserModelId (AUMID) is a combination of PackageFamilyName and PackageRelativeApplicationID (PRAID) - I do not know what it is |
9 | The name of the application (if you do not specify the value will be taken from the name) |
ten | Copyright |
eleven | Build Platform (win, mac, linux) (required) |
12 | How to package the application (7z, zip, tar.xz, tar.lz, tar.gz, tar.bz2, dir, etc) (required) |
13 | Application icon (if you do not specify it will be standard) |
14 | Trademarks |
15 | The way of internal archiving of the application must be disabled because it removes files with the exe extension. |
18 | Publisher, you can specify a string |
23 | Dependencies, among them there should be no electron otherwise there will be an error |
electron-builder build
Source: https://habr.com/ru/post/429446/
All Articles