summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorParty Wumpus <48649272+PartyWumpus@users.noreply.github.com>2023-08-28 15:43:08 +0100
committerGitHub <noreply@github.com>2023-08-28 15:43:08 +0100
commit8c3e0f90187c9b89c34faed814acc1890335cebe (patch)
tree8dce563674eb87ddb828026270ee1dca05e69029
parent40d12075f714e5c60e16f4b3983f82a60c15ded3 (diff)
downloaddecky-installer-8c3e0f90187c9b89c34faed814acc1890335cebe.tar.gz
decky-installer-8c3e0f90187c9b89c34faed814acc1890335cebe.zip
add percentage completion when doing the selinux bit
-rw-r--r--gui/user_install_script.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/user_install_script.sh b/gui/user_install_script.sh
index 92c9b9e..b137745 100644
--- a/gui/user_install_script.sh
+++ b/gui/user_install_script.sh
@@ -145,7 +145,7 @@ echo "45" ; echo "# Installing version $VERSION" ;
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 "Check for SELinux presence and if it is present, set the correct permission on the binary file..."
+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