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 = @' + + + + + + +