From 5340569e64ad50724492d163a646e0d3b324343b Mon Sep 17 00:00:00 2001 From: Johannes Bauer Date: Tue, 13 Oct 2026 07:06:26 +0200 Subject: [PATCH] Add Windows supervisor launcher GUI --- README.md | 4 ++ bin/office-launcher.ps1 | 136 +++++++++++++++++++++++++++++++++++++++ docs/windows-launcher.md | 11 ++++ 3 files changed, 151 insertions(+) create mode 100644 bin/office-launcher.ps1 create mode 100644 docs/windows-launcher.md diff --git a/README.md b/README.md index fac9441a5..d07f29546 100644 --- a/README.md +++ b/README.md @@ -420,3 +420,7 @@ Every change to the app that lands on `main` is published as a GitHub release by ## License [MIT](LICENSE) + +### Windows launcher GUI + +For an office managed by Windows scheduled tasks, [the Windows launcher](docs/windows-launcher.md) provides Start, Stop, Restart, health status and live log tabs. diff --git a/bin/office-launcher.ps1 b/bin/office-launcher.ps1 new file mode 100644 index 000000000..06d27b3b0 --- /dev/null +++ b/bin/office-launcher.ps1 @@ -0,0 +1,136 @@ +param( + [string]$DeploymentDir = 'E:\source\agent-office-deployment', + [string]$OfficeTask = 'Agent Office Studios Server', + [string]$TunnelTask = 'Agent Office Studios Tunnel', + [string]$OfficeUrl = 'http://127.0.0.1:4600/', + [string]$PreviewPath +) +$ErrorActionPreference = 'Stop' +$DeploymentDir = (Resolve-Path -LiteralPath $DeploymentDir).Path +Add-Type -AssemblyName PresentationFramework, PresentationCore, WindowsBase +[xml]$markup = @' + + + + + + +