mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-30 12:32:37 +00:00
feat(just): add decky prerelease option (#1425)
Co-authored-by: Aarron Lee <aarron-lee@users.noreply.github.com>
This commit is contained in:
parent
83cbbc0d0e
commit
d901c49e03
@ -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
|
||||
@ -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":
|
||||
|
Loading…
x
Reference in New Issue
Block a user