Browse Source
Merge pull request #10942 from YevhenBondarenko/feature/packaging-win-improvements
used package name instead of hardcoded for windows packaging
pull/10944/head
Viacheslav Klimov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
2 additions and
2 deletions
-
packaging/java/scripts/windows/install.bat
-
packaging/java/scripts/windows/install_dev_db.bat
|
|
|
@ -23,7 +23,7 @@ if "%1" == "--loadDemo" ( |
|
|
|
SET BASE=%~dp0 |
|
|
|
SET LOADER_PATH=%BASE%\conf,%BASE%\extensions |
|
|
|
SET SQL_DATA_FOLDER=%BASE%\data\sql |
|
|
|
SET jarfile=%BASE%\lib\thingsboard.jar |
|
|
|
SET jarfile=%BASE%\lib\${pkg.name}.jar |
|
|
|
SET installDir=%BASE%\data |
|
|
|
|
|
|
|
PUSHD "%BASE%\conf" |
|
|
|
|
|
|
|
@ -5,7 +5,7 @@ setlocal ENABLEEXTENSIONS |
|
|
|
SET BASE=${project.basedir}\target |
|
|
|
SET LOADER_PATH=%BASE%\conf,%BASE%\extensions |
|
|
|
|
|
|
|
SET jarfile=%BASE%\thingsboard-${project.version}-boot.jar |
|
|
|
SET jarfile=%BASE%\${pkg.name}-${project.version}-boot.jar |
|
|
|
SET installDir=%BASE%\data |
|
|
|
SET loadDemo=true |
|
|
|
|
|
|
|
|