下载
windows 版本为2进制文件 可以下载后直接启动 https://github.com/OpenListTeam/OpenList/releases/
start.bat
@echo off
setlocal
set "APP_DIR=E:\openlist"
set "APP_EXE=%APP_DIR%\openlist.exe"
if not exist "%APP_EXE%" (
echo [ERROR] openlist.exe not found!
pause
exit /b 1
)
echo Starting OpenList in background...
powershell.exe -NoProfile -Command "Start-Process -FilePath '%APP_EXE%' -ArgumentList 'server' -WorkingDirectory '%APP_DIR%' -WindowStyle Hidden"
if errorlevel 1 (
echo [ERROR] Failed to launch OpenList.
pause
exit /b 1
)
echo OpenList launch command completed.
exit /b 0
stop.bat
@echo off
taskkill /f /im openlist.exe
pause