mirror of
https://github.com/aunetx/deezer-linux.git
synced 2025-07-27 07:34:16 +02:00
fix: update electron version
This commit is contained in:
parent
987db981bf
commit
b4699a0df3
5
Makefile
5
Makefile
@ -41,9 +41,8 @@ prepare: clean install_build_deps
|
|||||||
# $(foreach p, $(wildcard ./patches/*), patch -p1 -dapp < $(p);)
|
# $(foreach p, $(wildcard ./patches/*), patch -p1 -dapp < $(p);)
|
||||||
|
|
||||||
@echo "Append `package-append.json` to the `package.json` of the app"
|
@echo "Append `package-append.json` to the `package.json` of the app"
|
||||||
@echo "Adds electron, elecron-builder dependencies, and build directives"
|
@echo "Adds electron, elecron-builder dependencies, prod and build directives"
|
||||||
@head -n -1 app/package.json > tmp.txt && mv tmp.txt app/package.json
|
@jq -s '.[0] * .[1]' app/package.json package-append.json > app/tmp.json && mv app/tmp.json app/package.json
|
||||||
@cat package-append.json | tee -a app/package.json
|
|
||||||
|
|
||||||
@echo "Download new packages"
|
@echo "Download new packages"
|
||||||
@npm i
|
@npm i
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
,"scripts": {
|
{
|
||||||
|
"scripts": {
|
||||||
"copy-resources": "mkdir -p resources/linux && cp ../extra/linux/* ./resources/linux",
|
"copy-resources": "mkdir -p resources/linux && cp ../extra/linux/* ./resources/linux",
|
||||||
"start": "yarn run copy-resources && electron .",
|
"start": "yarn run copy-resources && electron .",
|
||||||
"prepare-flatpak": "electron-builder --linux --dir",
|
"prepare-flatpak": "electron-builder --linux --dir",
|
||||||
@ -15,13 +16,11 @@
|
|||||||
"build-appimage-arm64": "electron-builder --arm64 --linux AppImage"
|
"build-appimage-arm64": "electron-builder --arm64 --linux AppImage"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"electron": "^13.6.9",
|
"electron": "^33.2.0",
|
||||||
"electron-builder": "^23.0.3"
|
"electron-builder": "^23.0.3"
|
||||||
},
|
},
|
||||||
"build": {
|
"build": {
|
||||||
"files": [
|
"files": ["**"],
|
||||||
"**"
|
|
||||||
],
|
|
||||||
"directories": {
|
"directories": {
|
||||||
"buildResources": "build",
|
"buildResources": "build",
|
||||||
"output": "../artifacts/${arch}"
|
"output": "../artifacts/${arch}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user