From a185831b08263e4044b5d5eb3b893f43f2d676a5 Mon Sep 17 00:00:00 2001 From: "zacharias@4zellen.se" Date: Thu, 12 Feb 2026 23:46:21 +0100 Subject: [PATCH] Corrected directories and fixed the creation of directories --- install.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 602d512..8e5231f 100755 --- a/install.sh +++ b/install.sh @@ -177,13 +177,14 @@ mkdir -p "$STEAM_COMPAT_DATA_PATH" 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 echo "Creating .desktop entry!" +mkdir -p "$HOME/.local/share/applications" echo "[Desktop Entry] Comment[en_US]=Electronic Arts App Comment=Electronic Arts App Exec=env 'STEAM_COMPAT_DATA_PATH=$STEAM_COMPAT_DATA_PATH' 'STEAM_COMPAT_CLIENT_INSTALL_PATH=$STEAM_COMPAT_CLIENT_INSTALL_PATH' 'DXVK_STATE_CACHE_PATH=$DXVK_STATE_CACHE_PATH' '$PROTON_PATH/proton' 'C:\\Program Files\\Electronic Arts\\EA Desktop\\EA Desktop\\EADesktop.exe' GenericName[en_US]=EA App GenericName= -Icon=/home/$USER/Documents/scripts/EAApp/EAapp.ico +Icon=/home/$HOME/.local/share/icons/EAapp.ico MimeType= Name[en_US]=EA App Name=EA App @@ -196,9 +197,9 @@ Type=Application X-KDE-SubstituteUID=false X-KDE-Username= Categories=Game -" > "~/.local/share/applications" +" > "$HOME/.local/share/applications/EA App.desktop" echo "Copying the desktop icon!" -cp "./EAapp.ico" "/home/$USER/Documents/scripts/EAApp/EAapp.ico" +cp "./EAapp.ico" "$HOME/.local/share/icons/EAapp.ico" 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!..." sleep 5