Restore the browser, gaming, development, and Windows VM menus

This commit is contained in:
2026-09-20 00:30:28 -04:00
parent 3e65d176e3
commit ffa9b2ca0e
42 changed files with 3575 additions and 7 deletions
+48
View File
@@ -0,0 +1,48 @@
#!/bin/bash
# blob:summary=Launch the installed Battle.net client via umu-launcher + GE-Proton.
# blob:args=[--with-mangohud]
# blob:examples=blob launch battlenet | blob launch battlenet --with-mangohud
set -e
PREFIX="$HOME/Games/battlenet"
LAUNCHER="$PREFIX/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe"
with_mangohud=0
for arg in "$@"; do
case "$arg" in
--with-mangohud) with_mangohud=1 ;;
-h|--help)
cat <<'EOF'
Usage: blob-launch-battlenet [--with-mangohud]
Options:
--with-mangohud Enable the MangoHud FPS overlay for games launched from
Battle.net. Toggle perf logging in-game with Shift_L+F2;
CSV logs land in ~/mangohud/.
EOF
exit 0
;;
*)
echo "Unknown argument: $arg" >&2
echo "Try: blob-launch-battlenet --help" >&2
exit 1
;;
esac
done
if [[ ! -f $LAUNCHER ]]; then
echo "Battle.net is not installed. Run blob-install-gaming-battlenet first." >&2
exit 1
fi
env_args=(
WINEPREFIX="$PREFIX"
PROTONPATH=GE-Proton
GAMEID=umu-battlenet
PROTON_VERB=run
)
(( with_mangohud )) && env_args+=(MANGOHUD=1)
env "${env_args[@]}" umu-run "$LAUNCHER"