From feaf427ae40be38df2def527534cb496869cb424 Mon Sep 17 00:00:00 2001 From: TheKing-OfTime Date: Sat, 15 Mar 2025 22:31:40 +0300 Subject: [PATCH] Fix MAX_FPS overwrite --- repack.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/repack.sh b/repack.sh index 89333d6..cd6e9fd 100755 --- a/repack.sh +++ b/repack.sh @@ -78,7 +78,7 @@ find "./" -type f \( -name "*.js" -o -name "*.js.map" \) -print0 | while IFS= re 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" - sed -i 's/t\.MAX_FPS=25/t.MAX_FPS=window.VIBE_ANIMATION_MAX_FPS??25/g' "$file" + sed -i "s/atob(s)/atob(s).replace('rt(25,', \`rt(\${window.VIBE_ANIMATION_MAX_FPS??25},\`)/g" "$file" done echo ".js chunks patched"