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

Change the way OS spofing works

This commit is contained in:
asalde_le1
2024-07-05 22:25:42 +03:00
parent 9199c4567a
commit 4bb0a269ed

View File

@@ -67,13 +67,13 @@ curdir="$PWD"
cd "$TEMPDIR/app"
# fixing secretKey issue
echo "Fixing SecretKey"
echo "Spoofing OS"
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
sed -i "s/secretKey:this.secretKey/secretKey:'superSecretKey'/g" "$file"
sed -i "s/B.LINUX/B.WINDOWS/g" "$file"
done
echo "SecretKey replaced"
# fixing titile
echo "Fixing Title"