15 lines
319 B
Batchfile
15 lines
319 B
Batchfile
@echo off
|
|
chcp 65001 >nul
|
|
cd /d "%~dp0新账系统"
|
|
where node >nul 2>nul
|
|
if errorlevel 1 goto missing
|
|
set "APP_MODE=trial"
|
|
set "PORT=3101"
|
|
node launch.js
|
|
pause
|
|
exit /b
|
|
:missing
|
|
echo 请先安装 Node.js LTS,再双击启动。不需要 npm install。
|
|
echo 官方下载地址:https://nodejs.org/
|
|
pause
|