mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 15:21:52 +01:00
fixed Ubisoft Connect
This commit is contained in:
parent
9198951aca
commit
ff91f65818
@ -152,15 +152,15 @@ fi
|
|||||||
if [[ -f "$uplay_path1" ]]; then
|
if [[ -f "$uplay_path1" ]]; then
|
||||||
# Uplay is installed in path 1
|
# Uplay is installed in path 1
|
||||||
uplay_value="FALSE"
|
uplay_value="FALSE"
|
||||||
uplay_text="Uplay ===> $uplay_path1"
|
uplay_text="Ubisoft Connect ===> $uplay_path1"
|
||||||
elif [[ -f "$uplay_path2" ]]; then
|
elif [[ -f "$uplay_path2" ]]; then
|
||||||
# Uplay is installed in path 2
|
# Uplay is installed in path 2
|
||||||
uplay_value="FALSE"
|
uplay_value="FALSE"
|
||||||
uplay_text="Uplay ===> $uplay_path2"
|
uplay_text="Ubisoft Connect ===> $uplay_path2"
|
||||||
else
|
else
|
||||||
# Uplay is not installed
|
# Uplay is not installed
|
||||||
uplay_value="FALSE"
|
uplay_value="FALSE"
|
||||||
uplay_text="Uplay"
|
uplay_text="Ubisoft Connect"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Check if Battle.net is installed
|
# Check if Battle.net is installed
|
||||||
@ -1421,7 +1421,7 @@ exe_file=${logged_in_home}/Downloads/NonSteamLaunchersInstallation/GOG_Galaxy_2.
|
|||||||
ubi_url=https://ubi.li/4vxt9
|
ubi_url=https://ubi.li/4vxt9
|
||||||
|
|
||||||
# Set the path to save the third file to
|
# Set the path to save the third file to
|
||||||
ubi_file=${logged_in_home}/Downloads/NonSteamLaunchersInstallation/UplayInstaller.exe
|
ubi_file=${logged_in_home}/Downloads/NonSteamLaunchersInstallation/UbisoftConnectInstaller.exe
|
||||||
|
|
||||||
# Set the URL to download the fourth file from
|
# Set the URL to download the fourth file from
|
||||||
origin_url=https://origin-a.akamaihd.net/Origin-Client-Download/origin/live/OriginThinSetup.exe
|
origin_url=https://origin-a.akamaihd.net/Origin-Client-Download/origin/live/OriginThinSetup.exe
|
||||||
@ -1647,7 +1647,7 @@ echo "50"
|
|||||||
echo "# Downloading & Installing Uplay ...please wait..."
|
echo "# Downloading & Installing Uplay ...please wait..."
|
||||||
|
|
||||||
# Check if user selected Uplay
|
# Check if user selected Uplay
|
||||||
if [[ $options == *"Uplay"* ]]; then
|
if [[ $options == *"Ubisoft Connect"* ]]; then
|
||||||
# User selected Uplay
|
# User selected Uplay
|
||||||
echo "User selected Uplay"
|
echo "User selected Uplay"
|
||||||
|
|
||||||
@ -1675,7 +1675,7 @@ if [[ $options == *"Uplay"* ]]; then
|
|||||||
# Download UBI file
|
# Download UBI file
|
||||||
if [ ! -f "$ubi_file" ]; then
|
if [ ! -f "$ubi_file" ]; then
|
||||||
echo "Downloading UBI file"
|
echo "Downloading UBI file"
|
||||||
wget $ubi_url -O $ubi_file
|
wget --no-check-certificate $ubi_url -O $ubi_file
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Run the UBI file using Proton with the /passive option
|
# Run the UBI file using Proton with the /passive option
|
||||||
|
Loading…
Reference in New Issue
Block a user