0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2025-09-28 01:29:03 +03:00

Switch from npm to arch package directly

This commit is contained in:
Andrey Onishchenko
2024-02-08 15:02:02 +03:00
parent a5ac5f9ce1
commit 1f9da65811
3 changed files with 4 additions and 8 deletions

View File

@@ -59,7 +59,7 @@ rm -rf "$EXTRACTED"
mv "$EXTRACTED/resources/app.asar" "$TEMPDIR/app.asar"
rm -rf "$EXTRACTED"
rm "$TEMPDIR/app-64.7z"
npx asar extract "$TEMPDIR/app.asar" "$TEMPDIR/app"
asar extract "$TEMPDIR/app.asar" "$TEMPDIR/app"
rm "$TEMPDIR/app.asar"
curdir="$PWD"
@@ -111,7 +111,7 @@ mkdir -p "$dst"
echo "Packing"
cd "$curdir"
npx asar pack "$TEMPDIR/app" "$dst/yandexmusic.asar"
asar pack "$TEMPDIR/app" "$dst/yandexmusic.asar"
for ext in png svg; do
mv "$TEMPDIR/app/build/next-desktop/favicon.$ext" "$dst"
done