summaryrefslogtreecommitdiff
path: root/gui
diff options
context:
space:
mode:
authorParty Wumpus <48649272+PartyWumpus@users.noreply.github.com>2023-08-28 15:46:15 +0100
committerGitHub <noreply@github.com>2023-08-28 15:46:15 +0100
commitd9573dc26f9e2150e735d71d49a230b8aa97d474 (patch)
tree8dce563674eb87ddb828026270ee1dca05e69029 /gui
parent16ca9facb37ac4dedf3ae6e6b7502f6733e73df6 (diff)
parent8c3e0f90187c9b89c34faed814acc1890335cebe (diff)
downloaddecky-installer-1.7.0.tar.gz
decky-installer-1.7.0.zip
Merge pull request #13 from RodoMa92/RodoMa92-fix-selinuxv1.7.0
(hotfix) This fixes SELinux issues on the latest installer
Diffstat (limited to 'gui')
-rw-r--r--gui/user_install_script.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/user_install_script.sh b/gui/user_install_script.sh
index 624fa06..b137745 100644
--- a/gui/user_install_script.sh
+++ b/gui/user_install_script.sh
@@ -144,6 +144,10 @@ echo "45" ; echo "# Installing version $VERSION" ;
# make another zenity prompt while downloading the PluginLoader file, I do not know how this works
curl -L $DOWNLOADURL -o ${HOMEBREW_FOLDER}/services/PluginLoader 2>&1 | stdbuf -oL tr '\r' '\n' | sed -u 's/^ *\([0-9][0-9]*\).*\( [0-9].*$\)/\1\n#Download Speed\:\2/' | zen_nospam --progress --title "Downloading Decky" --text="Download Speed: 0" --width=300 --height=100 --auto-close --no-cancel
chmod +x ${HOMEBREW_FOLDER}/services/PluginLoader
+
+echo "60"; echo "Running SELinux fix if it is enabled"
+hash getenforce 2>/dev/null && getenforce | grep "Enforcing" >/dev/null && chcon -t bin_t ${HOMEBREW_FOLDER}/services/PluginLoader
+
echo $VERSION > ${HOMEBREW_FOLDER}/services/.loader.version
echo "70" ; echo "# Kiling plugin_loader if it exists" ;