feat(ui): frameless transparent window with drag

This commit is contained in:
2026-08-25 18:05:12 +05:00
parent 26ac5e6003
commit e336cf7e86
8 changed files with 104 additions and 38 deletions
+3
View File
@@ -1,5 +1,6 @@
param(
[string]$Out = "tools/out/app.png",
[switch]$Light,
[switch]$NoBuild
)
@@ -16,7 +17,9 @@ if (-not (Test-Path $exe)) {
exit 1
}
if ($Light) { $env:BP_THEME = "light" }
$proc = Start-Process -FilePath $exe -WorkingDirectory $PWD -PassThru
Remove-Item Env:\BP_THEME -ErrorAction SilentlyContinue
Start-Sleep -Milliseconds 1800
& "$PSScriptRoot\shot.ps1" -ProcId $proc.Id -Out $Out