mirror of
https://github.com/cucumber-sp/yandex-music-linux.git
synced 2024-12-24 14:34:39 +03:00
Merge pull request #1 from BungaaFACE/fix/os-spoofing-secret-key
fix: fixed OS spoof for getting secretKey function
This commit is contained in:
commit
c7d475a783
@ -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/case a.t.MACOS:e=\"uz0zSpaYCLmgk6C7YLdo5F\"/case a.t.LINUX:e=\"kzqU4XhfCaY6B6JTHODeq5\"/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"
|
||||||
|
Loading…
Reference in New Issue
Block a user