0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2024-12-25 06:44:38 +03:00

Update repack.sh

This commit is contained in:
Vladislav Kachura 2024-08-17 00:24:23 +03:00 committed by GitHub
parent c7d475a783
commit 0a5a03ce69
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,7 +71,7 @@ echo "Fixing SecretKey"
echo "Spoofing OS" echo "Spoofing OS"
find "./" -type f \( -name "*.js" -o -name "*.js.map" \) -print0 | while IFS= read -r -d $'\0' file; do find "./" -type f \( -name "*.js" -o -name "*.js.map" \) -print0 | while IFS= read -r -d $'\0' file; do
# Use 'sed' to perform the replacement in-place # Use 'sed' to perform the replacement in-place
sed -i "s/case a.t.MACOS:e=\"uz0zSpaYCLmgk6C7YLdo5F\"/case a.t.LINUX:e=\"kzqU4XhfCaY6B6JTHODeq5\"/g" "$file" sed -i "s/a.t.WINDOWS/a.t.LINUX/g" "$file"
sed -i "s/B.LINUX/B.WINDOWS/g" "$file" sed -i "s/B.LINUX/B.WINDOWS/g" "$file"
done done
echo "OS spoofed" echo "OS spoofed"