feat: 增加 Sense 根目录启动脚本 (#90)
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
@echo off
|
||||||
|
setlocal
|
||||||
|
|
||||||
|
set "PACKAGE_LAUNCHER=%~dp0dist\sense-windows-amd64\start-sense.bat"
|
||||||
|
|
||||||
|
if not exist "%PACKAGE_LAUNCHER%" (
|
||||||
|
echo [ERROR] Sense Windows delivery package was not found.
|
||||||
|
echo Expected launcher: "%PACKAGE_LAUNCHER%"
|
||||||
|
echo Build it first with: "%~dp0scripts\build\build-windows.bat"
|
||||||
|
endlocal
|
||||||
|
exit /b 2
|
||||||
|
)
|
||||||
|
|
||||||
|
call "%PACKAGE_LAUNCHER%" %*
|
||||||
|
set "SENSE_EXIT_CODE=%ERRORLEVEL%"
|
||||||
|
|
||||||
|
endlocal & exit /b %SENSE_EXIT_CODE%
|
||||||
Reference in New Issue
Block a user