mirror of
https://github.com/cucumber-sp/yandex-music-linux.git
synced 2024-12-23 22:22:59 +03:00
repack only generates asar now
This commit is contained in:
parent
7cae5485c3
commit
a558dcf73b
18
repack.sh
18
repack.sh
@ -118,20 +118,4 @@ rm -rf ./app
|
|||||||
echo "Done"
|
echo "Done"
|
||||||
|
|
||||||
cp "./LICENSE.md" "./out/LICENSE.md"
|
cp "./LICENSE.md" "./out/LICENSE.md"
|
||||||
cp "./templates/desktop" "./out/yandexmusic.desktop"
|
cp "./templates/desktop" "./out/yandexmusic.desktop"
|
||||||
|
|
||||||
#sha256 hash
|
|
||||||
asar_hash=$(sha256sum "./out/yandexmusic.asar" | cut -d ' ' -f 1)
|
|
||||||
desktop_hash=$(sha256sum "./out/yandexmusic.desktop" | cut -d ' ' -f 1)
|
|
||||||
|
|
||||||
echo "asar hash: $asar_hash"
|
|
||||||
echo "desktop hash: $desktop_hash"
|
|
||||||
|
|
||||||
echo "Building PKGBUILD"
|
|
||||||
|
|
||||||
cp "./templates/PKGBUILD" "./out/PKGBUILD"
|
|
||||||
sed -i "s/%version%/$version/g" "./out/PKGBUILD"
|
|
||||||
sed -i "s/%asar_hash%/$asar_hash/g" "./out/PKGBUILD"
|
|
||||||
sed -i "s/%desktop_hash%/$desktop_hash/g" "./out/PKGBUILD"
|
|
||||||
|
|
||||||
echo "Done"
|
|
Loading…
Reference in New Issue
Block a user