mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Add heroic and just go with lutris
This commit is contained in:
Executable
+11
@@ -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
@@ -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 ;;
|
||||
|
||||
Executable
+17
@@ -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."
|
||||
Reference in New Issue
Block a user