From 1ab7e0f549ca07e0110c557bba12714f8a49a099 Mon Sep 17 00:00:00 2001 From: Marie Date: Wed, 16 Feb 2022 12:09:40 +0000 Subject: [PATCH] Fix test patching --- src/ts/Patch.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ts/Patch.ts b/src/ts/Patch.ts index 4ecd003..7b67a12 100644 --- a/src/ts/Patch.ts +++ b/src/ts/Patch.ts @@ -50,7 +50,7 @@ class Stream extends AbstractInstaller /** * Remove test version restrictions from the main patch */ - () => Neutralino.os.execCommand(`cd "${path.addSlashes(patchDir)}" && sed -i '/^echo "If you would like to test this patch, modify this script and remove the line below this one."/,+5d' patch.sh`), + () => Neutralino.os.execCommand(`cd "${path.addSlashes(patchDir)}" && sed -i '/^echo " === !! UNTESTED PATCH. CHECK FOR BANS USING A TRASH ACCOUNT !! ==="/,+5d' patch.sh`), /** * Remove /etc/hosts editing if running in Flatpak @@ -60,7 +60,7 @@ class Stream extends AbstractInstaller /** * Remove test version restrictions from the anti-login crash patch */ - () => Neutralino.os.execCommand(`cd "${path.addSlashes(patchDir)}" && sed -i '/^echo " necessary afterwards (Friday?). If that's the case, comment the line below."/,+2d' patch_anti_logincrash.sh`), + () => Neutralino.os.execCommand(`cd "${path.addSlashes(patchDir)}" && sed -i '/^#echo " edit this script file to comment\/remove the line below."/,+2d' patch_anti_logincrash.sh`), /** * Make the main patch executable