Rename OMA-RIODS to OMA-ROIDS (fix spelling)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
c8949447b5
commit
89ae2e43d4
5 changed files with 25 additions and 25 deletions
14
README.md
14
README.md
|
|
@ -1,4 +1,4 @@
|
||||||
# OMA-RIODS
|
# OMA-ROIDS
|
||||||
|
|
||||||
A classic Asteroids arcade game built with Love2D for [Omarchy](https://omarchy.org/) Linux.
|
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
|
## Install
|
||||||
|
|
||||||
```bash
|
```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:
|
This will:
|
||||||
- Install Love2D if not present
|
- 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
|
- Add an icon and launcher entry to your app menu
|
||||||
- Refresh the app launcher
|
- Refresh the app launcher
|
||||||
|
|
||||||
Search **OMA-RIODS** in your app launcher to play.
|
Search **OMA-ROIDS** in your app launcher to play.
|
||||||
|
|
||||||
## Uninstall
|
## Uninstall
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
oma-riods-uninstall
|
oma-roids-uninstall
|
||||||
```
|
```
|
||||||
|
|
||||||
## Controls
|
## Controls
|
||||||
|
|
@ -68,8 +68,8 @@ oma-riods-uninstall
|
||||||
## Run from source
|
## Run from source
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git clone https://git.no-signal.uk/nosignal/oma-riods.git
|
git clone https://git.no-signal.uk/nosignal/oma-roids.git
|
||||||
cd oma-riods
|
cd oma-roids
|
||||||
love .
|
love .
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
2
conf.lua
2
conf.lua
|
|
@ -1,5 +1,5 @@
|
||||||
function love.conf(t)
|
function love.conf(t)
|
||||||
t.window.title = "OMA-RIODS"
|
t.window.title = "OMA-ROIDS"
|
||||||
t.window.width = 1024
|
t.window.width = 1024
|
||||||
t.window.height = 768
|
t.window.height = 768
|
||||||
t.window.resizable = true
|
t.window.resizable = true
|
||||||
|
|
|
||||||
26
install.sh
26
install.sh
|
|
@ -1,14 +1,14 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
# OMA-RIODS Installer / Uninstaller
|
# OMA-ROIDS Installer / Uninstaller
|
||||||
# Usage: ./install.sh — install the game
|
# Usage: ./install.sh — install the game
|
||||||
# ./install.sh uninstall — remove the game
|
# ./install.sh uninstall — remove the game
|
||||||
|
|
||||||
GAME_NAME="oma-riods"
|
GAME_NAME="oma-roids"
|
||||||
DISPLAY_NAME="OMA-RIODS"
|
DISPLAY_NAME="OMA-ROIDS"
|
||||||
COMMENT="Classic asteroids arcade game with Omarchy theme integration"
|
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"
|
INSTALL_DIR="$HOME/.local/share/$GAME_NAME"
|
||||||
DESKTOP_FILE="$HOME/.local/share/applications/$GAME_NAME.desktop"
|
DESKTOP_FILE="$HOME/.local/share/applications/$GAME_NAME.desktop"
|
||||||
|
|
@ -109,19 +109,19 @@ EOF
|
||||||
mkdir -p "$HOME/.local/bin"
|
mkdir -p "$HOME/.local/bin"
|
||||||
cat > "$UNINSTALL_BIN" << 'UNINSTALL'
|
cat > "$UNINSTALL_BIN" << 'UNINSTALL'
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Uninstall OMA-RIODS
|
# Uninstall OMA-ROIDS
|
||||||
SCRIPT_URL="https://git.no-signal.uk/nosignal/oma-riods/raw/branch/master/install.sh"
|
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-riods/install.sh" uninstall 2>/dev/null || {
|
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
|
# Fallback: inline uninstall
|
||||||
rm -f "$HOME/.local/share/applications/oma-riods.desktop"
|
rm -f "$HOME/.local/share/applications/oma-roids.desktop"
|
||||||
rm -rf "$HOME/.local/share/oma-riods"
|
rm -rf "$HOME/.local/share/oma-roids"
|
||||||
for s in 16 32 48 64 128 256 512; do
|
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
|
done
|
||||||
rm -f "$HOME/.local/share/icons/hicolor/scalable/apps/oma-riods.svg"
|
rm -f "$HOME/.local/share/icons/hicolor/scalable/apps/oma-roids.svg"
|
||||||
rm -f "$HOME/.local/bin/oma-riods-uninstall"
|
rm -f "$HOME/.local/bin/oma-roids-uninstall"
|
||||||
command -v omarchy-restart-walker &>/dev/null && omarchy-restart-walker 2>/dev/null
|
command -v omarchy-restart-walker &>/dev/null && omarchy-restart-walker 2>/dev/null
|
||||||
echo "OMA-RIODS uninstalled"
|
echo "OMA-ROIDS uninstalled"
|
||||||
}
|
}
|
||||||
UNINSTALL
|
UNINSTALL
|
||||||
chmod +x "$UNINSTALL_BIN"
|
chmod +x "$UNINSTALL_BIN"
|
||||||
|
|
|
||||||
2
main.lua
2
main.lua
|
|
@ -109,7 +109,7 @@ local function drawTitleScreen()
|
||||||
|
|
||||||
love.graphics.setFont(Fonts.large)
|
love.graphics.setFont(Fonts.large)
|
||||||
love.graphics.setColor(p.bright)
|
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
|
-- Decorative wireframe lines
|
||||||
love.graphics.setColor(p.asteroid[1], p.asteroid[2], p.asteroid[3], 0.2)
|
love.graphics.setColor(p.asteroid[1], p.asteroid[2], p.asteroid[3], 0.2)
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,10 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
# OMA-RIODS Uninstaller
|
# OMA-ROIDS Uninstaller
|
||||||
|
|
||||||
GAME_NAME="oma-riods"
|
GAME_NAME="oma-roids"
|
||||||
DISPLAY_NAME="OMA-RIODS"
|
DISPLAY_NAME="OMA-ROIDS"
|
||||||
|
|
||||||
INSTALL_DIR="$HOME/.local/share/$GAME_NAME"
|
INSTALL_DIR="$HOME/.local/share/$GAME_NAME"
|
||||||
DESKTOP_FILE="$HOME/.local/share/applications/$GAME_NAME.desktop"
|
DESKTOP_FILE="$HOME/.local/share/applications/$GAME_NAME.desktop"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue