chore: update deprecated package `asar` to `@electron/asar`

Co-Authored-By: Meincrakker <50109822+Meincrakker@users.noreply.github.com>
This commit is contained in:
josselinonduty 2025-01-20 17:20:51 +01:00
parent 2504c7cacd
commit 02f645c28f
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ VERSION_REGEX = ^v$(PKGVER)-[0-9]{1,}$$
install_build_deps:
@npm install --engine-strict asar
@npm install --engine-strict @electron/asar@3.2.18
@npm install prettier@2.8.8
prepare: clean install_build_deps
@ -27,7 +27,7 @@ prepare: clean install_build_deps
@cd source && 7z x -y -bsp0 -bso0 app-32.7z
@echo "Extract app sources from the app"
@node_modules/asar/bin/asar.js extract source/resources/app.asar app
@node_modules/@electron/asar/bin/asar.js extract source/resources/app.asar app
@echo "Prettier the sources to patch successfully"
@node_modules/prettier/bin-prettier.js --write "app/build/*.js"