build: use system WebView2 for Windows archive

This commit is contained in:
2026-07-13 22:53:03 +08:00
parent 20952e8477
commit da76b89856
11 changed files with 26 additions and 135 deletions
-8
View File
@@ -2,12 +2,4 @@
setlocal
set "ROOT=%~dp0"
if not exist "%ROOT%webview2\msedgewebview2.exe" (
echo The bundled WebView2 runtime is missing.
pause
exit /b 1
)
icacls "%ROOT%webview2" /grant *S-1-15-2-2:(OI)(CI)(RX) /T /C >nul 2>&1
icacls "%ROOT%webview2" /grant *S-1-15-2-1:(OI)(CI)(RX) /T /C >nul 2>&1
start "" "%ROOT%verstak-desktop.exe" %*