0
0
mirror of https://github.com/cucumber-sp/yandex-music-linux.git synced 2025-04-04 16:23:44 +03:00

Merge pull request #161 from alldevic/fix-spoofing

This commit is contained in:
Andrey Onischenko 2025-03-10 00:43:36 +03:00 committed by GitHub
commit 1ed543563c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -74,6 +74,7 @@ find "./" -type f \( -name "*.js" -o -name "*.js.map" \) -print0 | while IFS= re
sed -i 's/o.isLinuxApplication/(window.CUSTOM_TITLE_BAR)/g' "$file"
sed -i 's/panel:!1,allowOverwriteExperiments:!1/panel:window.IS_DEVTOOLS_ENABLED??!1,allowOverwriteExperiments:window.IS_DEVTOOLS_ENABLED??!1/g' "$file"
sed -i 's/OS",o.LINUX="Linux"}/OS",o.LINUX="Windows"}/g' "$file"
sed -i 's/"MacOS",a.LINUX="Linux"/"MacOS",a.LINUX="Windows"/g' "$file"
sed -i 's/LINUX:"98548790"/LINUX:"95673843"/g' "$file"
sed -i 's/LINUX:"d2bcdb71-90ac-493b-b68f-024321954a5d"/LINUX:"0d8ab1a6-1667-42cb-a98f-2fe7eff4b137"/g' "$file"
sed -i 's/case n.t.LINUX:e="uVNvVMAvdrvjtwN0VlhEt2"/case n.t.LINUX:e="kzqU4XhfCaY6B6JTHODeq5"/g' "$file"