Bring back the zip creation

This commit is contained in:
Mylloon 2023-07-31 13:27:57 +02:00
parent 7d6b4eb465
commit 55847b6678
Signed by: Anri
GPG key ID: A82D63DFF8D1317F
3 changed files with 99 additions and 342 deletions

View file

@ -7,6 +7,8 @@
## Package the app for Windows
```bash
npm install --platform=win32
npm run package
npm i --platform=win32
npm run make -- --platform=win32
```
It will create a ZIP folder in `./out/make`.

419
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -6,7 +6,7 @@
"scripts": {
"build": "rm -rf ./dist 2> /dev/null; npx tsc",
"start": "npm run build && electron-forge start",
"package": "npm run build && electron-forge package --platform=win32"
"make": "npm run build && electron-forge make"
},
"repository": {
"type": "git",
@ -18,6 +18,7 @@
"author": "Mylloon",
"license": "AGPL-3.0-or-later",
"dependencies": {
"@electron-forge/maker-zip": "^6.2.1",
"ffmpeg-static": "^5.1.0",
"ffprobe-static": "^3.1.0",
"typescript": "^5.1.6"
@ -26,5 +27,18 @@
"@electron-forge/cli": "^6.2.1",
"@types/ffprobe-static": "^2.0.1",
"electron": "^25.3.2"
},
"config": {
"forge": {
"packagerConfig": {},
"makers": [
{
"name": "@electron-forge/maker-zip",
"platforms": [
"win32"
]
}
]
}
}
}