Corrected directories and fixed the creation of directories
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user