files:
- setup: https://origin-a.akamaihd.net/EA-Desktop-Client-Download/installer-releases/EAappInstaller.exe
game:
exe: drive_c/Program Files/Electronic Arts/EA Desktop/EA Desktop/EALauncher.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
name: create_prefix
prefix: $GAMEDIR
- task:
app: corefonts physx
name: winetricks
prefix: $GAMEDIR
- task:
app: win10
name: winetricks
prefix: $GAMEDIR
- task:
args: EAX_LAUNCH_CLIENT=0
description: Installing EA app
executable: setup
name: wineexec
return_code: 768
- write_file:
content: '#!/bin/bash
EA_DIR="$GAMEDIR/drive_c/Program Files/Electronic Arts/EA Desktop"
cd "$EA_DIR" || exit 1
launcher=$(find . -mindepth 3 -maxdepth 3 -type f -path "./*/EA Desktop/EALauncher.exe"
-print -quit)
[ -z "$launcher" ] && exit 0
ea_version=$(dirname "$(dirname "$launcher")")
rm -rf "$EA_DIR/EA Desktop"
mv "$ea_version/EA Desktop" "$EA_DIR/" '
file: $GAMEDIR/verifyea.sh
- chmodx: $GAMEDIR/verifyea.sh
- execute:
file: $GAMEDIR/verifyea.sh
system:
postexit_command: $GAMEDIR/verifyea.sh
wine:
version: dw-proton-x86_64
description: ''
game_slug: ea-app
gogslug: ''
humblestoreid: ''
installer_slug: ea-app-standard
name: EA App
notes: ''
runner: wine
script:
files:
- setup: https://origin-a.akamaihd.net/EA-Desktop-Client-Download/installer-releases/EAappInstaller.exe
game:
exe: drive_c/Program Files/Electronic Arts/EA Desktop/EA Desktop/EALauncher.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
name: create_prefix
prefix: $GAMEDIR
- task:
app: corefonts physx
name: winetricks
prefix: $GAMEDIR
- task:
app: win10
name: winetricks
prefix: $GAMEDIR
- task:
args: EAX_LAUNCH_CLIENT=0
description: Installing EA app
executable: setup
name: wineexec
return_code: 768
- write_file:
content: '#!/bin/bash
EA_DIR="$GAMEDIR/drive_c/Program Files/Electronic Arts/EA Desktop"
cd "$EA_DIR" || exit 1
launcher=$(find . -mindepth 3 -maxdepth 3 -type f -path "./*/EA Desktop/EALauncher.exe"
-print -quit)
[ -z "$launcher" ] && exit 0
ea_version=$(dirname "$(dirname "$launcher")")
rm -rf "$EA_DIR/EA Desktop"
mv "$ea_version/EA Desktop" "$EA_DIR/" '
file: $GAMEDIR/verifyea.sh
- chmodx: $GAMEDIR/verifyea.sh
- execute:
file: $GAMEDIR/verifyea.sh
system:
postexit_command: $GAMEDIR/verifyea.sh
wine:
version: dw-proton-x86_64
slug: ea-app-standard
steamid: null
version: Standard
year: 2022
{
"game_slug": "ea-app",
"version": "Standard",
"description": "",
"notes": "",
"name": "EA App",
"year": 2022,
"steamid": null,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "ea-app-standard",
"installer_slug": "ea-app-standard",
"script": {
"files": [
{
"setup": "https://origin-a.akamaihd.net/EA-Desktop-Client-Download/installer-releases/EAappInstaller.exe"
}
],
"game": {
"exe": "drive_c/Program Files/Electronic Arts/EA Desktop/EA Desktop/EALauncher.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"arch": "win64",
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"app": "corefonts physx",
"name": "winetricks",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"app": "win10",
"name": "winetricks",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"args": "EAX_LAUNCH_CLIENT=0",
"description": "Installing EA app",
"executable": "setup",
"name": "wineexec",
"return_code": 768
}
},
{
"write_file": {
"content": "#!/bin/bash\nEA_DIR=\"$GAMEDIR/drive_c/Program Files/Electronic Arts/EA Desktop\"\ncd \"$EA_DIR\" || exit 1\nlauncher=$(find . -mindepth 3 -maxdepth 3 -type f -path \"./*/EA Desktop/EALauncher.exe\" -print -quit)\n[ -z \"$launcher\" ] && exit 0\nea_version=$(dirname \"$(dirname \"$launcher\")\")\nrm -rf \"$EA_DIR/EA Desktop\"\nmv \"$ea_version/EA Desktop\" \"$EA_DIR/\" ",
"file": "$GAMEDIR/verifyea.sh"
}
},
{
"chmodx": "$GAMEDIR/verifyea.sh"
},
{
"execute": {
"file": "$GAMEDIR/verifyea.sh"
}
}
],
"system": {
"postexit_command": "$GAMEDIR/verifyea.sh"
},
"wine": {
"version": "dw-proton-x86_64"
}
}
}