From f708c52e3e318d4d1a05e89e5810f6c86559c664 Mon Sep 17 00:00:00 2001 From: jiangchen <1703935164@qq.com> Date: Sun, 27 Sep 2026 14:25:50 +0800 Subject: [PATCH] =?UTF-8?q?feat(shell):=20open=20=E5=8A=A8=E4=BD=9C?= =?UTF-8?q?=E4=BC=9A=E5=89=8D=E7=BD=AE=E5=B9=B6=E6=BF=80=E6=B4=BB=E5=B7=B2?= =?UTF-8?q?=E6=9C=89=E6=B5=AE=E7=AA=97=EF=BC=88Agent=20=E8=B0=83=20float?= =?UTF-8?q?=5Fwindow=20open=20=E6=97=B6=E4=B8=8D=E5=86=8D=E6=98=AF?= =?UTF-8?q?=E6=97=A0=E6=93=8D=E4=BD=9C=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/float-window.ps1 | 1 + 1 file changed, 1 insertion(+) diff --git a/shell/float-window.ps1 b/shell/float-window.ps1 index 4edbb96..32eeb2a 100644 --- a/shell/float-window.ps1 +++ b/shell/float-window.ps1 @@ -384,6 +384,7 @@ function Invoke-Cmd([string]$c) { 'fullscreen' { Toggle-Fullscreen } 'hide' { Send-ToPage @{ type = 'cmd'; cmd = 'hide' } } 'show' { $form.Show(); $form.Activate(); Send-ToPage @{ type = 'cmd'; cmd = 'show' } } + 'open' { if (-not $form.Visible) { $form.Show() }; $form.Activate(); $form.BringToFront(); Send-ToPage @{ type = 'cmd'; cmd = 'show' } } default { Send-ToPage @{ type = 'cmd'; cmd = $c } } } }