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

Fix SecretKey patch

* Fixes #129
This commit is contained in:
asalde_le1
2024-10-26 23:56:57 +02:00
parent d4ff192453
commit c123b5eb3d

View File

@@ -71,7 +71,7 @@ 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/a.t.WINDOWS/a.t.LINUX/g" "$file"
sed -i "s/n.t.WINDOWS/n.t.LINUX/g" "$file"
sed -i "s/B.LINUX/B.WINDOWS/g" "$file"
sed -i "s/t4T.WINDOWS/t4T[window.CUSTOM_TITLE_BAR ? 'LINUX' : 'WINDOWS']/g" "$file"
done