diff options
| author | Party Wumpus <48649272+PartyWumpus@users.noreply.github.com> | 2023-10-13 08:15:17 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-13 08:15:17 +0100 |
| commit | bd28059b56645266b24401b48b1e9858016a4f62 (patch) | |
| tree | 8e432a4db6c4246ca392e6d0ec4cf0edaa71cfea | |
| parent | bb126d8297c442af2ce5dcdc32ee91d041f23e4a (diff) | |
| download | decky-installer-bd28059b56645266b24401b48b1e9858016a4f62.tar.gz decky-installer-bd28059b56645266b24401b48b1e9858016a4f62.zip | |
fix typo in flatpak supportv1.7.1
| -rw-r--r-- | cli/install_prerelease.sh | 4 | ||||
| -rw-r--r-- | cli/install_release.sh | 4 | ||||
| -rw-r--r-- | gui/user_install_script.sh | 6 |
3 files changed, 7 insertions, 7 deletions
diff --git a/cli/install_prerelease.sh b/cli/install_prerelease.sh index a20d7e7..c18468d 100644 --- a/cli/install_prerelease.sh +++ b/cli/install_prerelease.sh @@ -7,7 +7,7 @@ if ! command -v jq &> /dev/null then echo "JQ could not be found, please install it" echo "Info on how to install it can be found at https://stedolan.github.io/jq/download/" - exit + exit 1 fi # check if github.com is reachable @@ -28,7 +28,7 @@ sudo -u $SUDO_USER mkdir -p "${HOMEBREW_FOLDER}/services" sudo -u $SUDO_USER mkdir -p "${HOMEBREW_FOLDER}/plugins" sudo -u $SUDO_USER touch "${USER_DIR}/.steam/steam/.cef-enable-remote-debugging" # if installed as flatpak, put .cef-enable-remote-debugging there -[ -d "${USER_DIR}/.var/app/com.valvesoftware.Steam/data/Steam/" ] && sudo -u $SUDO_USER touch ${USER_DIR}/.var/app/com.valvesoftware.Steam/data/Steam/.cef-enable-remote-debugging" +[ -d "${USER_DIR}/.var/app/com.valvesoftware.Steam/data/Steam/" ] && sudo -u $SUDO_USER touch "${USER_DIR}/.var/app/com.valvesoftware.Steam/data/Steam/.cef-enable-remote-debugging" # Download latest release and install it RELEASE=$(curl -s 'https://api.github.com/repos/SteamDeckHomebrew/decky-loader/releases' | jq -r "first(.[] | select(.prerelease == "true"))") diff --git a/cli/install_release.sh b/cli/install_release.sh index f5f919d..ef06d10 100644 --- a/cli/install_release.sh +++ b/cli/install_release.sh @@ -7,7 +7,7 @@ if ! command -v jq &> /dev/null then echo "JQ could not be found, please install it" echo "Info on how to install it can be found at https://stedolan.github.io/jq/download/" - exit + exit 1 fi # check if github.com is reachable @@ -28,7 +28,7 @@ sudo -u $SUDO_USER mkdir -p "${HOMEBREW_FOLDER}/services" sudo -u $SUDO_USER mkdir -p "${HOMEBREW_FOLDER}/plugins" sudo -u $SUDO_USER touch "${USER_DIR}/.steam/steam/.cef-enable-remote-debugging" # if installed as flatpak, put .cef-enable-remote-debugging there -[ -d "${USER_DIR}/.var/app/com.valvesoftware.Steam/data/Steam/" ] && sudo -u $SUDO_USER touch ${USER_DIR}/.var/app/com.valvesoftware.Steam/data/Steam/.cef-enable-remote-debugging" +[ -d "${USER_DIR}/.var/app/com.valvesoftware.Steam/data/Steam/" ] && sudo -u "$SUDO_USER touch ${USER_DIR}/.var/app/com.valvesoftware.Steam/data/Steam/.cef-enable-remote-debugging" # Download latest release and install it RELEASE=$(curl -s 'https://api.github.com/repos/SteamDeckHomebrew/decky-loader/releases' | jq -r "first(.[] | select(.prerelease == "false"))") diff --git a/gui/user_install_script.sh b/gui/user_install_script.sh index 2038038..4af6cd9 100644 --- a/gui/user_install_script.sh +++ b/gui/user_install_script.sh @@ -15,7 +15,7 @@ if ! command -v jq &> /dev/null then echo "JQ could not be found, please install it" echo "Info on how to install it can be found at https://stedolan.github.io/jq/download/" - exit + exit 1 fi # check if github.com is reachable @@ -115,7 +115,7 @@ if [[ "$OPTION" == "uninstall decky loader" || "$OPTION" == "wipe decky loader" --text="Uninstalling..." \ --percentage=0 \ --no-cancel - exit 1 + exit 0 fi # otherwise, install decky @@ -132,7 +132,7 @@ sudo -u $SUDO_USER mkdir -p "${HOMEBREW_FOLDER}/services" sudo -u $SUDO_USER mkdir -p "${HOMEBREW_FOLDER}/plugins" sudo -u $SUDO_USER touch "${USER_DIR}/.steam/steam/.cef-enable-remote-debugging" # if installed as flatpak, put .cef-enable-remote-debugging there -[ -d "${USER_DIR}/.var/app/com.valvesoftware.Steam/data/Steam/" ] && sudo -u $SUDO_USER touch ${USER_DIR}/.var/app/com.valvesoftware.Steam/data/Steam/.cef-enable-remote-debugging" +[ -d "${USER_DIR}/.var/app/com.valvesoftware.Steam/data/Steam/" ] && sudo -u $SUDO_USER touch "${USER_DIR}/.var/app/com.valvesoftware.Steam/data/Steam/.cef-enable-remote-debugging" echo "30" ; echo "# Finding latest $BRANCH"; if [ "$BRANCH" = 'prerelease' ] ; then |
