7 lines
531 B
PowerShell
7 lines
531 B
PowerShell
# Resizes the app window for ~2 s, then puts it back: the window-resize workload for
|
|
# scripts/resize-perf.mjs `window`. The tool is the framework's (waybetter/dev-tools/window-resize.ps1);
|
|
# this runs it on wayBetter for X's process.
|
|
# powershell -ExecutionPolicy Bypass -File scripts/window-resize.ps1 [-Ms 2000] [-Amplitude 200]
|
|
param([int]$Ms = 2000, [int]$Amplitude = 200)
|
|
& (Join-Path $PSScriptRoot '..\..\..\waybetter\dev-tools\window-resize.ps1') -Process 'better-twttr*' -Ms $Ms -Amplitude $Amplitude
|
|
exit $LASTEXITCODE
|