diff --git a/README.md b/README.md index 088f3dc..4eae4d2 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ Sets up a venv for the Python deps (Pillow, numpy, pytesseract) and checks for t ./run.sh ``` -Uses the venv from `install.sh` if one exists, otherwise falls back to system `python3`. GTK apps with this app ID are single-instance, if a run gets killed uncleanly it can leave a zombie registered on D-Bus and silently no-op the next launch. If `./run.sh` seems to do nothing, `pgrep -af ironnest_assist` and kill any stragglers first. +Uses the venv from `install.sh` if one exists, otherwise falls back to system `python3`. GTK apps with this app ID are single-instance, if a run gets killed uncleanly it can leave a zombie registered on D-Bus and silently no-op the next launch. If `./run.sh` seems to do nothing, `pgrep -af fenigma` and kill any stragglers first. ## Stack diff --git a/run.sh b/run.sh index 2b2e33e..acdd820 100755 --- a/run.sh +++ b/run.sh @@ -6,4 +6,4 @@ cd "$(dirname "${BASH_SOURCE[0]}")" PYTHON=python3 [ -x .venv/bin/python3 ] && PYTHON=.venv/bin/python3 -exec env PYTHONPATH=src "$PYTHON" -m ironnest_assist.app +exec env PYTHONPATH=src "$PYTHON" -m fenigma.app diff --git a/src/fenigma/__init__.py b/src/fenigma/__init__.py new file mode 100644 index 0000000..0c75069 --- /dev/null +++ b/src/fenigma/__init__.py @@ -0,0 +1 @@ +"""FeNigma: screen-reading helper for IRON NEST: Heavy Turret Simulator.""" diff --git a/src/ironnest_assist/app.py b/src/fenigma/app.py similarity index 99% rename from src/ironnest_assist/app.py rename to src/fenigma/app.py index ccd557d..133d317 100644 --- a/src/ironnest_assist/app.py +++ b/src/fenigma/app.py @@ -1,4 +1,4 @@ -"""IronNest Assist — GTK4/libadwaita app entry point. +"""FeNigma: GTK4/libadwaita app entry point. Layout: a row of category dropdowns on top (+ a universal clipboard-fetch button), the map/grid filling the center. Coordinates can be set by exact @@ -31,7 +31,7 @@ from .grid_widget import GridCanvas # noqa: E402 from .models import Board, Location, Target, TargetType # noqa: E402 from .shells import Shell # noqa: E402 -APP_ID = "eu.dominik-roth.IronNestAssist" +APP_ID = "eu.dominik-roth.FeNigma" def _apply_location(obj, location: Location) -> None: @@ -147,7 +147,7 @@ def _install_css() -> None: class MainWindow(Adw.ApplicationWindow): def __init__(self, app: Adw.Application) -> None: - super().__init__(application=app, title="IronNest Assist") + super().__init__(application=app, title="FeNigma") self.set_default_size(1100, 750) _install_css() @@ -861,7 +861,7 @@ class MainWindow(Adw.ApplicationWindow): rebuild() -class IronNestApp(Adw.Application): +class FeNigmaApp(Adw.Application): def __init__(self) -> None: super().__init__(application_id=APP_ID) @@ -873,7 +873,7 @@ class IronNestApp(Adw.Application): def main() -> int: - app = IronNestApp() + app = FeNigmaApp() return app.run(None) diff --git a/src/ironnest_assist/ballistics.py b/src/fenigma/ballistics.py similarity index 100% rename from src/ironnest_assist/ballistics.py rename to src/fenigma/ballistics.py diff --git a/src/ironnest_assist/coord_dialog.py b/src/fenigma/coord_dialog.py similarity index 100% rename from src/ironnest_assist/coord_dialog.py rename to src/fenigma/coord_dialog.py diff --git a/src/ironnest_assist/firing_panel.py b/src/fenigma/firing_panel.py similarity index 100% rename from src/ironnest_assist/firing_panel.py rename to src/fenigma/firing_panel.py diff --git a/src/ironnest_assist/grid_widget.py b/src/fenigma/grid_widget.py similarity index 100% rename from src/ironnest_assist/grid_widget.py rename to src/fenigma/grid_widget.py diff --git a/src/ironnest_assist/models.py b/src/fenigma/models.py similarity index 100% rename from src/ironnest_assist/models.py rename to src/fenigma/models.py diff --git a/src/ironnest_assist/ocr.py b/src/fenigma/ocr.py similarity index 100% rename from src/ironnest_assist/ocr.py rename to src/fenigma/ocr.py diff --git a/src/ironnest_assist/shells.py b/src/fenigma/shells.py similarity index 100% rename from src/ironnest_assist/shells.py rename to src/fenigma/shells.py diff --git a/src/ironnest_assist/solver.py b/src/fenigma/solver.py similarity index 100% rename from src/ironnest_assist/solver.py rename to src/fenigma/solver.py diff --git a/src/ironnest_assist/__init__.py b/src/ironnest_assist/__init__.py deleted file mode 100644 index 450ac18..0000000 --- a/src/ironnest_assist/__init__.py +++ /dev/null @@ -1 +0,0 @@ -"""ironnest-assist: screen-reading helper for IRON NEST: Heavy Turret Simulator."""