From e77fb91382398ff34a33456ef82416ad116e55dd Mon Sep 17 00:00:00 2001 From: Marie Date: Wed, 2 Feb 2022 21:17:36 +0000 Subject: [PATCH] Fix sed command for Flatpak users due to new lines --- src/ts/Patch.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ts/Patch.ts b/src/ts/Patch.ts index b7cf72a..e3bbbf3 100644 --- a/src/ts/Patch.ts +++ b/src/ts/Patch.ts @@ -55,7 +55,7 @@ class Stream extends AbstractInstaller /** * Remove /etc/hosts editing if running in Flatpak */ - () => isFlatpak ? Neutralino.os.execCommand(`cd "${path.addSlashes(patchDir)}" && sed -i '/^# ===========================================================/,+68d' patch.sh`) : null, + () => isFlatpak ? Neutralino.os.execCommand(`cd "${path.addSlashes(patchDir)}" && sed -i '/^# ===========================================================/,+79d' patch.sh`) : null, /** * Remove test version restrictions from the anti-login crash patch