Files
hongguo-drama/启动红果下载器.bat

20 lines
540 B
Batchfile
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@echo off
rem 8.5 official release.
rem Hongguo Drama 8.5 official release - version metadata: package.json
chcp 65001 >nul
cd /d "%~dp0"
if exist "dist\win-unpacked\红果短剧.exe" (
start "" "dist\win-unpacked\红果短剧.exe"
exit /b 0
)
for %%F in ("dist\红果短剧-*-便携版.exe") do (
start "" "%%~fF"
exit /b 0
)
for %%F in ("dist\hongguo-downloader-*-win-x64-setup.exe") do (
start "" "%%~fF"
exit /b 0
)
echo 未找到已打包的程序。请先执行 npm run build,或双击「开发模式.bat」。
pause