mirror of
https://github.com/zhang-pu/zpclean.git
synced 2026-12-01 09:18:28 +08:00
11 lines
302 B
Batchfile
11 lines
302 B
Batchfile
@echo off
|
||
chcp 65001 > nul
|
||
cd /d "%~dp0"
|
||
if exist "publish\ZPclean.exe" (
|
||
echo [ZPclean] 使用已发布的版本...
|
||
start "" "publish\ZPclean.exe"
|
||
) else (
|
||
echo [ZPclean] 还没发布,先运行 build.ps1 生成 exe;这里用 dotnet run 启动...
|
||
dotnet run
|
||
)
|
||
if errorlevel 1 pause
|