diff --git a/README.md b/README.md index ad7f754..5cd31a4 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ cd kafka-console-ui # linux或mac执行 sh package.sh # windows执行 -./package.bat +package.bat ``` 打包成功,输出文件(以下2种归档类型): * target/kafka-console-ui.tar.gz diff --git a/bin/start.bat b/bin/start.bat new file mode 100644 index 0000000..1606024 --- /dev/null +++ b/bin/start.bat @@ -0,0 +1,7 @@ +rem MAIN_CLASS=org.springframework.boot.loader.JarLauncher +rem JAVA_HOME=jre1.8.0_66 +set JAVA_CMD=%JAVA_HOME%\bin\java +set JAVA_OPTS=-Xmx512m -Xms512m -Xmn256m -Xss256k +set CONFIG_FILE=../config/application.yml +set TARGET=../lib/kafka-console-ui.jar +%JAVA_CMD% -jar %TARGET% --spring.config.location=%CONFIG_FILE% \ No newline at end of file diff --git a/ui/src/views/op/Operation.vue b/ui/src/views/op/Operation.vue index ba3c896..97a2c3f 100644 --- a/ui/src/views/op/Operation.vue +++ b/ui/src/views/op/Operation.vue @@ -13,7 +13,7 @@
+