Updated script to remove redudent debug sleeps
This commit is contained in:
10
install.sh
10
install.sh
@@ -44,8 +44,6 @@ else
|
|||||||
GET_PROTON=1
|
GET_PROTON=1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
sleep 5
|
|
||||||
|
|
||||||
if [[ $GET_PROTON -eq 1 ]] then
|
if [[ $GET_PROTON -eq 1 ]] then
|
||||||
echo "Failed to find Proton. If you know where Proton is, enter the path. Otherwise, we can install the latest Proton GE. Proceed? [Y/n]"
|
echo "Failed to find Proton. If you know where Proton is, enter the path. Otherwise, we can install the latest Proton GE. Proceed? [Y/n]"
|
||||||
read answer
|
read answer
|
||||||
@@ -144,7 +142,7 @@ fi
|
|||||||
|
|
||||||
echo "Found Proton"
|
echo "Found Proton"
|
||||||
|
|
||||||
sleep 5
|
sleep 2
|
||||||
|
|
||||||
if [[ -z "$PROTON_PATH" ]] then
|
if [[ -z "$PROTON_PATH" ]] then
|
||||||
echo "The Proton Path is empty for unkown reasons. Please try again."
|
echo "The Proton Path is empty for unkown reasons. Please try again."
|
||||||
@@ -152,7 +150,7 @@ if [[ -z "$PROTON_PATH" ]] then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Downloading the EA App Installer"
|
echo "Downloading the EA App Installer"
|
||||||
sleep 5
|
sleep 1
|
||||||
|
|
||||||
if ! command -v curl > /dev/null 2>&1; then
|
if ! command -v curl > /dev/null 2>&1; then
|
||||||
echo "Missing curl. Please download it."
|
echo "Missing curl. Please download it."
|
||||||
@@ -169,8 +167,8 @@ STEAM_COMPAT_DATA_PATH="$HOME/.local/share/EAapp/"
|
|||||||
mkdir -p "$STEAM_COMPAT_DATA_PATH"
|
mkdir -p "$STEAM_COMPAT_DATA_PATH"
|
||||||
echo "Using $STEAM_COMPAT_DATA_PATH as proton prefix. This is where EA App will be installed to"
|
echo "Using $STEAM_COMPAT_DATA_PATH as proton prefix. This is where EA App will be installed to"
|
||||||
# TODO: Add the copying or generation of the .desktop file
|
# TODO: Add the copying or generation of the .desktop file
|
||||||
echo "
|
echo ""
|
||||||
sleep 5
|
sleep 1
|
||||||
echo "Starting proton in 5s, we might lose controll, if no application starts then we might have an issue, I trust you proton!..."
|
echo "Starting proton in 5s, we might lose controll, if no application starts then we might have an issue, I trust you proton!..."
|
||||||
sleep 5
|
sleep 5
|
||||||
"$PROTON_PATH/proton" "$TMP_DIR/EAappInstaller.exe"
|
"$PROTON_PATH/proton" "$TMP_DIR/EAappInstaller.exe"
|
||||||
Reference in New Issue
Block a user