From af0c4de2612df90fae77294b11dca5bbaa90a466 Mon Sep 17 00:00:00 2001 From: Andrey Onishchenko Date: Sat, 7 Dec 2024 17:09:34 +0300 Subject: [PATCH] Repack fix --- repack.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/repack.sh b/repack.sh index d048bad..a461916 100755 --- a/repack.sh +++ b/repack.sh @@ -71,9 +71,9 @@ 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/r.t.WINDOWS/r.t.LINUX/g" "$file" - sed -i "s/l.isLinuxApplication/(window.CUSTOM_TITLE_BAR)/g" "$file" - sed -i "s/a.isLinuxApplication/(window.CUSTOM_TITLE_BAR)/g" "$file" + sed -i 's/WINDOWS:e="kzqU4XhfCaY6B6JTHODeq5"/LINUX:e="kzqU4XhfCaY6B6JTHODeq5"/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"