Make queue UI optional and fix idle summary
This commit is contained in:
parent
76b3936ecd
commit
7206b454db
7 changed files with 165 additions and 64 deletions
|
|
@ -1,7 +1,9 @@
|
|||
param(
|
||||
[string]$BindHost = "127.0.0.1",
|
||||
[int]$Port = 8000,
|
||||
[switch]$Reload
|
||||
[switch]$Reload,
|
||||
[ValidateSet("auto", "show", "hide")]
|
||||
[string]$QueueUI = "auto"
|
||||
)
|
||||
|
||||
$ErrorActionPreference = "Stop"
|
||||
|
|
@ -15,7 +17,8 @@ if (-not (Test-Path $python)) {
|
|||
$args = @(
|
||||
(Join-Path $repoRoot "scripts\run_gui.py"),
|
||||
"--host", $BindHost,
|
||||
"--port", $Port
|
||||
"--port", $Port,
|
||||
"--queue-ui", $QueueUI
|
||||
)
|
||||
|
||||
if ($Reload) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue