mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 15:21: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"
|
||||
flatpak --user override --filesystem=/run/udev:ro com.google.Chrome
|
||||
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
|
||||
fi
|
||||
|
||||
# Install Google Chrome
|
||||
flatpak install --user flathub com.google.Chrome -y
|
||||
@ -82,6 +87,7 @@ if $installchrome; then
|
||||
fi
|
||||
|
||||
|
||||
|
||||
if [ "${deckyplugin}" = false ]; then
|
||||
#Download Modules
|
||||
# Define the repository and the folders to clone
|
||||
@ -1868,8 +1874,13 @@ if [[ $options == *"Netflix"* ]] || [[ $options == *"Fortnite"* ]] || [[ $option
|
||||
echo "Google Chrome is already installed"
|
||||
flatpak --user override --filesystem=/run/udev:ro com.google.Chrome
|
||||
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
|
||||
fi
|
||||
|
||||
# Install Google Chrome
|
||||
flatpak install --user flathub com.google.Chrome -y
|
||||
@ -1880,6 +1891,7 @@ if [[ $options == *"Netflix"* ]] || [[ $options == *"Fortnite"* ]] || [[ $option
|
||||
fi
|
||||
|
||||
|
||||
|
||||
# wait for Google Chrome to finish
|
||||
wait
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user