From c123b5eb3d5d924d9fedeac3428aadf329301c9d Mon Sep 17 00:00:00 2001 From: asalde_le1 <57564314+asaldele1@users.noreply.github.com> Date: Sat, 26 Oct 2024 23:56:57 +0200 Subject: [PATCH] Fix SecretKey patch * Fixes #129 --- repack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repack.sh b/repack.sh index bbdcc16..c007650 100755 --- a/repack.sh +++ b/repack.sh @@ -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