Compare commits

...

2 Commits

Author SHA1 Message Date
Kelorastus 1c25891ab7 Merge branch 'main' of http://192.168.1.41:30061/admin/ODIAN_Launcher 2026-09-30 16:02:34 +02:00
Kelorastus e28101ada5 fix 2026-09-30 16:02:30 +02:00
2 changed files with 12 additions and 4 deletions
+11 -3
View File
@@ -298,14 +298,22 @@ pub fn run_release(
// It ships with the release skill rather than the repo, so look there when the repo
// has no copy. A missing script used to fail the same way a broken one does.
let api = api_script(&scripts).ok_or(
"deploy-api.ps1 is neither in the repo's scripts nor in the release skill: the API cannot be rolled.",
format!(
"deploy-api.ps1 is not in {}. Pull ODIAN_MCP_Server on this PC, or untick the Engine API.",
scripts.display()
),
)?;
body.push_str(&format!(
"Write-Host '=== Engine API ===' -ForegroundColor Cyan
& '{}' -NodeSudoPw $pw
& '{}' -NodeSudoPw $pw -EngineRoot '{}'
if ($LASTEXITCODE -notin 0,3) {{ throw 'the API step failed' }}
",
api.display()
api.display(),
// The checkout is the sibling of ODIAN_MCP_Server, which is what `mcp_repo` names.
// Passed explicitly so the script does not have to guess from where it was loaded -
// it can come from the repo or from the release skill, and only one of those is a
// sibling of the Engine.
mcp_repo.parent().unwrap_or(mcp_repo).join("ODIAN_Engine").display()
));
}
+1 -1
View File
@@ -1,7 +1,7 @@
{
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
"productName": "ODIAN Launcher",
"version": "0.1.40",
"version": "0.1.41",
"identifier": "fr.odian.launcher",
"build": {
"frontendDist": "../dist",