Skip to content

Instantly share code, notes, and snippets.

@R3D9477
Last active December 2, 2020 12:11
Show Gist options
  • Save R3D9477/5b4957333b41c21a212b006423dd5d06 to your computer and use it in GitHub Desktop.
Save R3D9477/5b4957333b41c21a212b006423dd5d06 to your computer and use it in GitHub Desktop.
Epic Games Launcher install on Linux (wine64)
#!/bin/bash
# Note: Wine64 is needed!
sudo apt install wine64 winetricks winbind cabextract
rm -rf "$HOME/.wine64EpicGamesLauncher"
export WINEPREFIX="$HOME/.wine64EpicGamesLauncher"
export WINEARCH="win64"
winetricks d3dx9 corefonts dotnet20
mkdir "/tmp/Epic"
pushd "/tmp/Epic"
wget -nc -O "EpicGamesLauncherInstaller.msi" "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi"
wine msiexec /i "EpicGamesLauncherInstaller.msi" # Will be failed at the end of installation. Don't panic, it's OK!
popd
rm -f "$DESKTOP_PATH/Epic Games Launcher"
rm -f "$DESKTOP_PATH/Epic Games Launcher.lnk"
echo "[Desktop Entry]
Categories=Game
Comment[en_US]=Epic Games Launcher
Comment=Epic Games Launcher
Exec=wine \"C:/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe\" -SkipBuildPatchPrereq
GenericName[en_US]=
GenericName=
Icon=09BE_EpicGamesLauncher.0
MimeType=
Name=Epic Games Launcher
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
Type=Application
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-KDE-SubstituteUID=false
X-KDE-Username=" | tee "$DESKTOP_PATH/EpicGamesLauncher.desktop"
chmod +x "$DESKTOP_PATH/EpicGamesLauncher.desktop"
@R3D9477
Copy link
Author

R3D9477 commented Dec 2, 2020

Tested on KDE Neon 20.04

Download & install cmd:

curl -H 'Cache-Control: no-cache' https://gist.githubusercontent.com/r3d9u11/5b4957333b41c21a212b006423dd5d06/raw/9c04a2b7b7cfaffa3639cf3c6e182d3c0b469922/install_EGM.sh | bash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment