diff --git a/README.md b/README.md index 0803658..4e130ba 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# OMA-RIODS +# OMA-ROIDS A classic Asteroids arcade game built with Love2D for [Omarchy](https://omarchy.org/) Linux. @@ -7,21 +7,21 @@ Vector wireframe aesthetic that auto-detects your Omarchy system theme and font ## Install ```bash -curl -sL https://git.no-signal.uk/nosignal/oma-riods/raw/branch/master/install.sh | bash +curl -sL https://git.no-signal.uk/nosignal/oma-roids/raw/branch/master/install.sh | bash ``` This will: - Install Love2D if not present -- Clone the game to `~/.local/share/oma-riods/` +- Clone the game to `~/.local/share/oma-roids/` - Add an icon and launcher entry to your app menu - Refresh the app launcher -Search **OMA-RIODS** in your app launcher to play. +Search **OMA-ROIDS** in your app launcher to play. ## Uninstall ```bash -oma-riods-uninstall +oma-roids-uninstall ``` ## Controls @@ -68,8 +68,8 @@ oma-riods-uninstall ## Run from source ```bash -git clone https://git.no-signal.uk/nosignal/oma-riods.git -cd oma-riods +git clone https://git.no-signal.uk/nosignal/oma-roids.git +cd oma-roids love . ``` diff --git a/conf.lua b/conf.lua index f98f6b0..48cf931 100644 --- a/conf.lua +++ b/conf.lua @@ -1,5 +1,5 @@ function love.conf(t) - t.window.title = "OMA-RIODS" + t.window.title = "OMA-ROIDS" t.window.width = 1024 t.window.height = 768 t.window.resizable = true diff --git a/install.sh b/install.sh index 2817a4e..b35dd89 100755 --- a/install.sh +++ b/install.sh @@ -1,14 +1,14 @@ #!/bin/bash set -euo pipefail -# OMA-RIODS Installer / Uninstaller +# OMA-ROIDS Installer / Uninstaller # Usage: ./install.sh — install the game # ./install.sh uninstall — remove the game -GAME_NAME="oma-riods" -DISPLAY_NAME="OMA-RIODS" +GAME_NAME="oma-roids" +DISPLAY_NAME="OMA-ROIDS" COMMENT="Classic asteroids arcade game with Omarchy theme integration" -REPO_URL="https://git.no-signal.uk/nosignal/oma-riods.git" +REPO_URL="https://git.no-signal.uk/nosignal/oma-roids.git" INSTALL_DIR="$HOME/.local/share/$GAME_NAME" DESKTOP_FILE="$HOME/.local/share/applications/$GAME_NAME.desktop" @@ -109,19 +109,19 @@ EOF mkdir -p "$HOME/.local/bin" cat > "$UNINSTALL_BIN" << 'UNINSTALL' #!/bin/bash -# Uninstall OMA-RIODS -SCRIPT_URL="https://git.no-signal.uk/nosignal/oma-riods/raw/branch/master/install.sh" -curl -sL "$SCRIPT_URL" | bash -s uninstall 2>/dev/null || bash "$HOME/.local/share/oma-riods/install.sh" uninstall 2>/dev/null || { +# Uninstall OMA-ROIDS +SCRIPT_URL="https://git.no-signal.uk/nosignal/oma-roids/raw/branch/master/install.sh" +curl -sL "$SCRIPT_URL" | bash -s uninstall 2>/dev/null || bash "$HOME/.local/share/oma-roids/install.sh" uninstall 2>/dev/null || { # Fallback: inline uninstall - rm -f "$HOME/.local/share/applications/oma-riods.desktop" - rm -rf "$HOME/.local/share/oma-riods" + rm -f "$HOME/.local/share/applications/oma-roids.desktop" + rm -rf "$HOME/.local/share/oma-roids" for s in 16 32 48 64 128 256 512; do - rm -f "$HOME/.local/share/icons/hicolor/${s}x${s}/apps/oma-riods.png" + rm -f "$HOME/.local/share/icons/hicolor/${s}x${s}/apps/oma-roids.png" done - rm -f "$HOME/.local/share/icons/hicolor/scalable/apps/oma-riods.svg" - rm -f "$HOME/.local/bin/oma-riods-uninstall" + rm -f "$HOME/.local/share/icons/hicolor/scalable/apps/oma-roids.svg" + rm -f "$HOME/.local/bin/oma-roids-uninstall" command -v omarchy-restart-walker &>/dev/null && omarchy-restart-walker 2>/dev/null - echo "OMA-RIODS uninstalled" + echo "OMA-ROIDS uninstalled" } UNINSTALL chmod +x "$UNINSTALL_BIN" diff --git a/main.lua b/main.lua index be399ea..c3d9c17 100644 --- a/main.lua +++ b/main.lua @@ -109,7 +109,7 @@ local function drawTitleScreen() love.graphics.setFont(Fonts.large) love.graphics.setColor(p.bright) - love.graphics.printf("OMA-RIODS", 0, centerY, sw, "center") + love.graphics.printf("OMA-ROIDS", 0, centerY, sw, "center") -- Decorative wireframe lines love.graphics.setColor(p.asteroid[1], p.asteroid[2], p.asteroid[3], 0.2) diff --git a/uninstall.sh b/uninstall.sh index 32d4505..7f5ae98 100755 --- a/uninstall.sh +++ b/uninstall.sh @@ -1,10 +1,10 @@ #!/bin/bash set -euo pipefail -# OMA-RIODS Uninstaller +# OMA-ROIDS Uninstaller -GAME_NAME="oma-riods" -DISPLAY_NAME="OMA-RIODS" +GAME_NAME="oma-roids" +DISPLAY_NAME="OMA-ROIDS" INSTALL_DIR="$HOME/.local/share/$GAME_NAME" DESKTOP_FILE="$HOME/.local/share/applications/$GAME_NAME.desktop"