diff options
| author | Party Wumpus <48649272+PartyWumpus@users.noreply.github.com> | 2023-10-13 08:10:37 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-13 08:10:37 +0100 |
| commit | bb126d8297c442af2ce5dcdc32ee91d041f23e4a (patch) | |
| tree | 459efabd21ccfdddec426ae1266a9a0507ce1816 /gui/user_install_script.sh | |
| parent | d9573dc26f9e2150e735d71d49a230b8aa97d474 (diff) | |
| download | decky-installer-bb126d8297c442af2ce5dcdc32ee91d041f23e4a.tar.gz decky-installer-bb126d8297c442af2ce5dcdc32ee91d041f23e4a.zip | |
add flatpak steam support
Diffstat (limited to 'gui/user_install_script.sh')
| -rw-r--r-- | gui/user_install_script.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gui/user_install_script.sh b/gui/user_install_script.sh index b137745..2038038 100644 --- a/gui/user_install_script.sh +++ b/gui/user_install_script.sh @@ -105,6 +105,7 @@ if [[ "$OPTION" == "uninstall decky loader" || "$OPTION" == "wipe decky loader" echo "80" ; echo "# Disabling CEF debugging" ; sudo rm "${USER_DIR}/.steam/steam/.cef-enable-remote-debugging" + sudo rm "${USER_DIR}/.var/app/com.valvesoftware.Steam/data/Steam/.cef-enable-remote-debugging" 2> /dev/null echo "100" ; echo "# Uninstall finished, installer can now be closed"; ) | @@ -130,6 +131,8 @@ rm -rf "${HOMEBREW_FOLDER}/services" 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" echo "30" ; echo "# Finding latest $BRANCH"; if [ "$BRANCH" = 'prerelease' ] ; then |
