Merge branch 'fix-sed-command' into 'main'

Fix sed command for Flatpak users

See merge request KRypt0n_/an-anime-game-launcher!32
This commit is contained in:
Observer KRypt0n_ 2022-02-02 21:19:43 +00:00
commit a625213652

View file

@ -55,7 +55,7 @@ class Stream extends AbstractInstaller
/** /**
* Remove /etc/hosts editing if running in Flatpak * 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 * Remove test version restrictions from the anti-login crash patch