mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 23:31:52 +01:00
Update NonSteamLaunchers.sh
This commit is contained in:
parent
6dae6b3c61
commit
4f3e1a1cf7
@ -70,8 +70,13 @@ if $installchrome; then
|
|||||||
echo "Google Chrome is already installed"
|
echo "Google Chrome is already installed"
|
||||||
flatpak --user override --filesystem=/run/udev:ro com.google.Chrome
|
flatpak --user override --filesystem=/run/udev:ro com.google.Chrome
|
||||||
else
|
else
|
||||||
# Install the Flatpak runtime
|
# Check if the Flathub repository exists
|
||||||
|
if flatpak remote-list | grep flathub &> /dev/null; then
|
||||||
|
echo "Flathub repository exists"
|
||||||
|
else
|
||||||
|
# Add the Flathub repository
|
||||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||||
|
fi
|
||||||
|
|
||||||
# Install Google Chrome
|
# Install Google Chrome
|
||||||
flatpak install --user flathub com.google.Chrome -y
|
flatpak install --user flathub com.google.Chrome -y
|
||||||
@ -82,6 +87,7 @@ if $installchrome; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if [ "${deckyplugin}" = false ]; then
|
if [ "${deckyplugin}" = false ]; then
|
||||||
#Download Modules
|
#Download Modules
|
||||||
# Define the repository and the folders to clone
|
# Define the repository and the folders to clone
|
||||||
@ -1868,8 +1874,13 @@ if [[ $options == *"Netflix"* ]] || [[ $options == *"Fortnite"* ]] || [[ $option
|
|||||||
echo "Google Chrome is already installed"
|
echo "Google Chrome is already installed"
|
||||||
flatpak --user override --filesystem=/run/udev:ro com.google.Chrome
|
flatpak --user override --filesystem=/run/udev:ro com.google.Chrome
|
||||||
else
|
else
|
||||||
# Install the Flatpak runtime
|
# Check if the Flathub repository exists
|
||||||
|
if flatpak remote-list | grep flathub &> /dev/null; then
|
||||||
|
echo "Flathub repository exists"
|
||||||
|
else
|
||||||
|
# Add the Flathub repository
|
||||||
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||||
|
fi
|
||||||
|
|
||||||
# Install Google Chrome
|
# Install Google Chrome
|
||||||
flatpak install --user flathub com.google.Chrome -y
|
flatpak install --user flathub com.google.Chrome -y
|
||||||
@ -1880,6 +1891,7 @@ if [[ $options == *"Netflix"* ]] || [[ $options == *"Fortnite"* ]] || [[ $option
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# wait for Google Chrome to finish
|
# wait for Google Chrome to finish
|
||||||
wait
|
wait
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user