first commit ZZZzzzzzz

This commit is contained in:
QAIU
2023-04-20 17:42:39 +08:00
commit 28cb764c81
78 changed files with 5055 additions and 0 deletions

5
bin/run.bat Normal file
View File

@@ -0,0 +1,5 @@
@echo off && @chcp 65001 > nul
pushd %~dp0
set LIB_DIR=%~dp0
for /f "delims=X" %%i in ('dir /b %LIB_DIR%\web-*.jar') do set LAUNCH_JAR=%LIB_DIR%\%%i
"%JAVA_HOME%\bin\java.exe" -Xmx512M -Dfile.encoding=utf8 -jar %LAUNCH_JAR% %*

5
bin/run.sh Normal file
View File

@@ -0,0 +1,5 @@
#!/bin/sh
# set -x
LAUNCH_JAR="web-*.jar"
nohup java -Xmx512M -jar "$LAUNCH_JAR" "$@" >startup.log 2>&1 &
tail -f startup.log