0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2024-12-23 22:22:59 +03:00

Merge pull request #98 from BungaaFACE/master

This commit is contained in:
Andrey Onischenko 2024-08-17 00:58:33 +03:00 committed by GitHub
commit ff41c56147
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -71,9 +71,10 @@ 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/secretKey:this.secretKey/secretKey:'superSecretKey'/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"
# fixing titile # fixing titile
echo "Fixing Title" echo "Fixing Title"