mirror of
https://github.com/cucumber-sp/yandex-music-linux.git
synced 2025-09-28 01:29:03 +03:00
Update patches and repack script
This commit is contained in:
@@ -72,8 +72,8 @@ 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/r.t.WINDOWS/r.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"
|
||||
sed -i "s/l.isLinuxApplication/(window.CUSTOM_TITLE_BAR)/g" "$file"
|
||||
sed -i "s/a.isLinuxApplication/(window.CUSTOM_TITLE_BAR)/g" "$file"
|
||||
done
|
||||
echo "OS spoofed"
|
||||
|
||||
|
Reference in New Issue
Block a user