Skip to content

Commit

Permalink
针对windows环境提供一个start.bat方便启动
Browse files Browse the repository at this point in the history
  • Loading branch information
WenchaoZeng committed Aug 16, 2023
1 parent 6f8dbbd commit 88a64e2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ mkdir ./target/release
mkdir ./target/release/lib
cp ./target/sqldataprocessor-0.0.0-SNAPSHOT/lib/* ./target/release/lib/
cp ./start.sh ./target/release
cp ./start.bat ./target/release

# 打包
oldPath=$(pwd)
Expand Down
3 changes: 3 additions & 0 deletions start.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@echo off

java "-Xmx16g" "-XX:MinHeapFreeRatio=0" "-XX:MaxHeapFreeRatio=10" "-cp" "lib/*" "com.zwc.sqldataprocessor.SqlDataProcessor" "%~1"

0 comments on commit 88a64e2

Please sign in to comment.