From 281c2b0e61dc1595098dd30a7f0d27159af36e93 Mon Sep 17 00:00:00 2001 From: KakaruHayate <97896816+KakaruHayate@users.noreply.github.com> Date: Sat, 27 Jan 2024 10:49:48 +0800 Subject: [PATCH] support powershell --- go-webui.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/go-webui.ps1 b/go-webui.ps1 index 5d225a4..219798a 100644 --- a/go-webui.ps1 +++ b/go-webui.ps1 @@ -1,2 +1,4 @@ -runtime\python.exe webui.py +$ErrorActionPreference = "SilentlyContinue" +chcp 65001 +& "$PSScriptRoot\runtime\python.exe" "$PSScriptRoot\webui.py" pause