rename to lib-management.launcher (was lib-sporel.launcher)
Per ADR-0045 (three-tier library naming) the launcher migrates from
the retired lib-sporel.* prefix to the new lib-management.* tier for
host-infrastructure libs. Updates:
- manifest.module id: lib-sporel.launcher -> lib-management.launcher
- manifest.core id: lib-sporel.launcher.core -> lib-management.launcher.core
- init.lua engine.module.dir_of("lib-management.launcher")
- README + fsm.lua comment refs
Gitea repo renamed in lockstep:
sporel/sporel-module-lib-sporel.launcher ->
sporel/sporel-module-lib-management.launcher
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
# lib-sporel.launcher
|
||||
# lib-management.launcher
|
||||
|
||||
Module-discovery and module-switch entry. Lists available modules from the configured modules-dir and launches the selected one via `engine.switch_module`. Typical entry point: `--module=lib-sporel.launcher` boots into a chooser screen rather than directly into a game.
|
||||
Module-discovery and module-switch entry. Lists available modules from the configured modules-dir and launches the selected one via `engine.switch_module`. Typical entry point: `--module=lib-management.launcher` boots into a chooser screen rather than directly into a game.
|
||||
|
||||
**Version:** 0.1.0
|
||||
**Module-ID:** lib-sporel.launcher
|
||||
**Module-ID:** lib-management.launcher
|
||||
**Requires:** lib-core.input v>=0.4.0
|
||||
**Tags:** launcher, menu, system, navigation
|
||||
|
||||
@@ -12,7 +12,7 @@ Module-discovery and module-switch entry. Lists available modules from the confi
|
||||
<!-- topology:start (auto-generated; do not edit) -->
|
||||
```mermaid
|
||||
graph LR
|
||||
this["lib-sporel.launcher"]
|
||||
this["lib-management.launcher"]
|
||||
lib_core_input["lib-core.input"]
|
||||
this --> lib_core_input
|
||||
engine["engine.*"]
|
||||
|
||||
2
fsm.lua
2
fsm.lua
@@ -1,5 +1,5 @@
|
||||
-- Sporel Launcher — pure-Lua finite state machine.
|
||||
-- No engine.* calls; testable directly by lib-sporel.launcher-test.
|
||||
-- No engine.* calls; testable directly by lib-management.launcher-test.
|
||||
|
||||
local M = {}
|
||||
|
||||
|
||||
2
init.lua
2
init.lua
@@ -1,7 +1,7 @@
|
||||
local input = require("lib-core.input")
|
||||
-- fsm.lua lives in this module's dir; engine_lua_lib's searcher only resolves
|
||||
-- declared lib-deps, so multi-file modules use dofile + engine.module.dir_of.
|
||||
local fsm = dofile(engine.module.dir_of("lib-sporel.launcher") .. "/fsm.lua")
|
||||
local fsm = dofile(engine.module.dir_of("lib-management.launcher") .. "/fsm.lua")
|
||||
|
||||
local STATE_LIST, STATE_QUIT, EXIT = fsm.STATE_LIST, fsm.STATE_QUIT_CONFIRM, fsm.EXIT
|
||||
local state = STATE_LIST
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"id": "lib-sporel.launcher.core",
|
||||
"id": "lib-management.launcher.core",
|
||||
"kind": "lib",
|
||||
"version": "0.1.0",
|
||||
"license": "Proprietary"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"id": "lib-sporel.launcher",
|
||||
"id": "lib-management.launcher",
|
||||
"version": "0.1.0",
|
||||
"kind": "module",
|
||||
"api": "^0.1",
|
||||
|
||||
Reference in New Issue
Block a user