fix: refresh occluded browser windows before plugin capture

This commit is contained in:
chenmingxuan committed 2026-10-14 20:17:59 +08:00
1 parent 254ce4ffb3
commit 86dab41947
6 files changed
+127 -8

No files matched your search

+2 -2
View File
@@ -1,9 +1,9 @@
param([string]$Title, [string]$ReadyFile, [switch]$Cover)
param([string]$Title, [string]$ReadyFile, [switch]$Cover, [int]$Width=500, [int]$Height=300)
Add-Type -AssemblyName System.Windows.Forms
Add-Type -AssemblyName System.Drawing
$form = New-Object System.Windows.Forms.Form
$form.Text = $Title
$form.Size = New-Object System.Drawing.Size(500, 300)
$form.Size = New-Object System.Drawing.Size($Width, $Height)
$form.StartPosition = 'Manual'
$form.Location = New-Object System.Drawing.Point(100, 100)
$form.TopMost = $true