PortValhalla/scripts/Common/Config/Pennywise/install.sh

8 lines
210 B
Bash
Executable file

#!/bin/bash
desktopFile=/usr/share/applications/pennywise.desktop;
if ! grep "^Exec=.* --no-sandbox" "$desktopFile" > /dev/null
then
sudo sed -i '/^Exec=/s/^Exec=".*"/\0 --no-sandbox/' "$desktopFile";
fi;