Fix sed command for Flatpak users due to new lines

This commit is contained in:
Marie 2022-02-02 21:17:36 +00:00
parent c3dfc6b9bd
commit e77fb91382

View file

@ -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