11 lines
243 B
Batchfile
11 lines
243 B
Batchfile
@echo off & setlocal enabledelayedexpansion
|
|
set BIN_DIR=%~dp0
|
|
|
|
::run
|
|
cd %BIN_DIR%\..
|
|
set APP_JAR=""
|
|
for %%f in (*-*-*.jar) do set APP_JAR=%%f
|
|
java -Dloader.path=config -Dfile.encoding=UTF-8 -Xms256m -Xmx512m -jar %APP_JAR%
|
|
cd %BIN_DIR%
|
|
|