Add scripts for installing pennywise
This commit is contained in:
parent
c23d308bf0
commit
b7de225e4b
2 changed files with 12 additions and 0 deletions
5
scripts/Arch/Software/Pennywise/install.sh
Executable file
5
scripts/Arch/Software/Pennywise/install.sh
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
pushd "${BASH_SOURCE%/*}" > /dev/null;
|
||||
yay --noconfirm -Syu pennywise-bin;
|
||||
. "../../Common/Config/Pennywise/install.sh";
|
||||
popd > /dev/null;
|
7
scripts/Common/Config/Pennywise/install.sh
Executable file
7
scripts/Common/Config/Pennywise/install.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/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;
|
Loading…
Reference in a new issue