Add heroic and just go with lutris

This commit is contained in:
David Heinemeier Hansson
2026-05-04 10:31:06 +02:00
parent 5653d9a094
commit 1a57257fbf
5 changed files with 36 additions and 11 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/bash
# omarchy:summary=Install Heroic Games Launcher (Epic, GOG, Amazon Prime Gaming) with graphics drivers.
# omarchy:requires-sudo=true
set -e
omarchy-pkg-add heroic-games-launcher-bin
omarchy-install-gaming-gpu-lib32
setsid gtk-launch heroic >/dev/null 2>&1 &
@@ -1,6 +1,6 @@
#!/bin/bash
# omarchy:summary=Install Battle.net via Lutris (Wine + DXVK handled by the Lutris install recipe)
# omarchy:summary=Install Lutris with Wine + DXVK for running Windows games (Battle.net, EA, Ubisoft Connect, etc.)
# omarchy:requires-sudo=true
set -e
@@ -15,8 +15,7 @@ sudo sed -i '/env python3/ c\#!/bin/python3' /usr/bin/lutris
cat <<'EOF'
Lutris will open and auto-fetch its DXVK and VKD3D runtimes in the background
(watch the bottom status bar). Once that finishes, click the +, search for "Battle.net" in
the games list and click Install.
(watch the bottom status bar). Once that finishes, click the + to add or install games.
EOF
+4 -4
View File
@@ -386,11 +386,11 @@ show_install_ai_menu() {
}
show_install_gaming_menu() {
case $(menu "Install" " Steam\n RetroArch\n󰍳 Minecraft\n Battle.net\n󰢹 NVIDIA GeForce NOW\n Xbox Cloud Gaming\n󰖺 Xbox Controller (󰂯)") in
case $(menu "Install" " Steam\n RetroArch\n󰍳 Minecraft\n Lutris (Battle.net, etc.)\n󰢹 NVIDIA GeForce NOW\n Xbox Cloud Gaming\n󰖺 Xbox Controller (󰂯)") in
*Steam*) present_terminal omarchy-install-gaming-steam ;;
*RetroArch*) present_terminal omarchy-install-gaming-retroarch ;;
*Minecraft*) install_and_launch "Minecraft" "minecraft-launcher" "minecraft-launcher" ;;
*Battle.net*) present_terminal omarchy-install-gaming-battlenet ;;
*Lutris*) present_terminal omarchy-install-gaming-lutris ;;
*GeForce*) present_terminal omarchy-install-gaming-geforce-now ;;
*"Xbox Cloud"*) present_terminal omarchy-install-gaming-xbox-cloud ;;
*Xbox*) present_terminal omarchy-install-gaming-xbox-controllers ;;
@@ -483,11 +483,11 @@ show_remove_menu() {
}
show_remove_gaming_menu() {
case $(menu "Remove" " Steam\n RetroArch\n󰍳 Minecraft\n Battle.net\n󰢹 NVIDIA GeForce NOW\n Xbox Cloud Gaming\n󰖺 Xbox Controller") in
case $(menu "Remove" " Steam\n RetroArch\n󰍳 Minecraft\n Lutris\n󰢹 NVIDIA GeForce NOW\n Xbox Cloud Gaming\n󰖺 Xbox Controller") in
*Steam*) present_terminal omarchy-remove-gaming-steam ;;
*RetroArch*) present_terminal omarchy-remove-gaming-retroarch ;;
*Minecraft*) present_terminal omarchy-remove-gaming-minecraft ;;
*Battle.net*) present_terminal omarchy-remove-gaming-battlenet ;;
*Lutris*) present_terminal omarchy-remove-gaming-lutris ;;
*GeForce*) present_terminal omarchy-remove-gaming-geforce-now ;;
*"Xbox Cloud"*) present_terminal omarchy-remove-gaming-xbox-cloud ;;
*Xbox*) present_terminal omarchy-remove-gaming-xbox-controllers ;;
+17
View File
@@ -0,0 +1,17 @@
#!/bin/bash
# omarchy:summary=Remove Heroic Games Launcher and its game libraries, configs, and caches.
# omarchy:requires-sudo=true
set -e
omarchy-pkg-drop heroic-games-launcher-bin
rm -rf \
"$HOME/.config/heroic" \
"$HOME/.local/share/heroic" \
"$HOME/.cache/heroic" \
"$HOME/Games/Heroic"
echo ""
echo "Heroic and its data have been removed."
@@ -1,6 +1,6 @@
#!/bin/bash
# omarchy:summary=Remove Battle.net along with Lutris, Wine, umu-launcher, and all their configs and caches.
# omarchy:summary=Remove Lutris, Wine, umu-launcher, and all their configs and caches.
# omarchy:requires-sudo=true
set -e
@@ -8,8 +8,6 @@ set -e
omarchy-pkg-drop lutris wine-staging wine-mono wine-gecko winetricks python-protobuf umu-launcher
rm -rf \
"$HOME/Games/battlenet" \
"$HOME/Games/battle-net" \
"$HOME/.config/lutris" \
"$HOME/.local/share/lutris" \
"$HOME/.cache/lutris" \
@@ -20,4 +18,4 @@ rm -rf \
"$HOME/.cache/winetricks"
echo ""
echo "Battle.net, Lutris, Wine, umu-launcher, and their configs have been removed."
echo "Lutris, Wine, umu-launcher, and their configs have been removed."