fix: update electron version

This commit is contained in:
josselinonduty 2025-01-19 21:37:17 +01:00
parent 987db981bf
commit b4699a0df3
No known key found for this signature in database
2 changed files with 6 additions and 8 deletions

View File

@ -41,9 +41,8 @@ prepare: clean install_build_deps
# $(foreach p, $(wildcard ./patches/*), patch -p1 -dapp < $(p);)
@echo "Append `package-append.json` to the `package.json` of the app"
@echo "Adds electron, elecron-builder dependencies, and build directives"
@head -n -1 app/package.json > tmp.txt && mv tmp.txt app/package.json
@cat package-append.json | tee -a app/package.json
@echo "Adds electron, elecron-builder dependencies, prod and build directives"
@jq -s '.[0] * .[1]' app/package.json package-append.json > app/tmp.json && mv app/tmp.json app/package.json
@echo "Download new packages"
@npm i

View File

@ -1,4 +1,5 @@
,"scripts": {
{
"scripts": {
"copy-resources": "mkdir -p resources/linux && cp ../extra/linux/* ./resources/linux",
"start": "yarn run copy-resources && electron .",
"prepare-flatpak": "electron-builder --linux --dir",
@ -15,13 +16,11 @@
"build-appimage-arm64": "electron-builder --arm64 --linux AppImage"
},
"devDependencies": {
"electron": "^13.6.9",
"electron": "^33.2.0",
"electron-builder": "^23.0.3"
},
"build": {
"files": [
"**"
],
"files": ["**"],
"directories": {
"buildResources": "build",
"output": "../artifacts/${arch}"