Skip to content

Commit

Permalink
feat(just): add decky prerelease option (#1425)
Browse files Browse the repository at this point in the history
Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com>
  • Loading branch information
aarron-lee and aarron-lee authored Jul 29, 2024
1 parent 83cbbc0 commit d901c49
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,7 @@ setup-decky ACTION="install":
echo "Usage: ujust setup-decky <option>"
echo " <option>: Specify the quick option to skip the prompt"
echo " Use 'install' to select Install Decky"
echo " Use 'prerelease' to select Install Decky Prerelease"
exit 0
fi
if [[ "${OPTION,,}" =~ install ]]; then
Expand All @@ -159,6 +160,15 @@ setup-decky ACTION="install":
curl -L https://github.com/SteamDeckHomebrew/decky-installer/releases/latest/download/install_release.sh | sh
sudo chcon -R -t bin_t $HOME/homebrew/services/PluginLoader
fi
if [[ "${OPTION,,}" =~ prerelease ]]; then
export HOME=$(getent passwd ${SUDO_USER:-$USER} | cut -d: -f6)
if [ ! -L "/home/deck" ] && [ ! -e "/home/deck" ] && [ "$HOME" != "/home/deck" ]; then
echo "Making a /home/deck symlink to fix plugins that do not use environment variables."
sudo ln -sf "$HOME" /home/deck
fi
curl -L https://github.com/SteamDeckHomebrew/decky-installer/releases/latest/download/install_prerelease.sh | sh
sudo chcon -R -t bin_t $HOME/homebrew/services/PluginLoader
fi

# Ptyxis terminal transparency
ptyxis-transparency opacity="0.95":
Expand Down

0 comments on commit d901c49

Please sign in to comment.