Bring back the zip creation
This commit is contained in:
parent
7d6b4eb465
commit
55847b6678
3 changed files with 99 additions and 342 deletions
|
@ -7,6 +7,8 @@
|
||||||
## Package the app for Windows
|
## Package the app for Windows
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
npm install --platform=win32
|
npm i --platform=win32
|
||||||
npm run package
|
npm run make -- --platform=win32
|
||||||
```
|
```
|
||||||
|
|
||||||
|
It will create a ZIP folder in `./out/make`.
|
||||||
|
|
419
package-lock.json
generated
419
package-lock.json
generated
File diff suppressed because it is too large
Load diff
16
package.json
16
package.json
|
@ -6,7 +6,7 @@
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "rm -rf ./dist 2> /dev/null; npx tsc",
|
"build": "rm -rf ./dist 2> /dev/null; npx tsc",
|
||||||
"start": "npm run build && electron-forge start",
|
"start": "npm run build && electron-forge start",
|
||||||
"package": "npm run build && electron-forge package --platform=win32"
|
"make": "npm run build && electron-forge make"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
@ -18,6 +18,7 @@
|
||||||
"author": "Mylloon",
|
"author": "Mylloon",
|
||||||
"license": "AGPL-3.0-or-later",
|
"license": "AGPL-3.0-or-later",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
"@electron-forge/maker-zip": "^6.2.1",
|
||||||
"ffmpeg-static": "^5.1.0",
|
"ffmpeg-static": "^5.1.0",
|
||||||
"ffprobe-static": "^3.1.0",
|
"ffprobe-static": "^3.1.0",
|
||||||
"typescript": "^5.1.6"
|
"typescript": "^5.1.6"
|
||||||
|
@ -26,5 +27,18 @@
|
||||||
"@electron-forge/cli": "^6.2.1",
|
"@electron-forge/cli": "^6.2.1",
|
||||||
"@types/ffprobe-static": "^2.0.1",
|
"@types/ffprobe-static": "^2.0.1",
|
||||||
"electron": "^25.3.2"
|
"electron": "^25.3.2"
|
||||||
|
},
|
||||||
|
"config": {
|
||||||
|
"forge": {
|
||||||
|
"packagerConfig": {},
|
||||||
|
"makers": [
|
||||||
|
{
|
||||||
|
"name": "@electron-forge/maker-zip",
|
||||||
|
"platforms": [
|
||||||
|
"win32"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue