-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[*] Fix_2 release_workflow.yml, fix .jar name
- Loading branch information
Showing
3 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,10 @@ | ||
set JDEPS_COMMAND=jdeps --print-module-deps --ignore-missing-deps .\build\libs\Fifa19Bot-1.0.jar | ||
set JDEPS_COMMAND=jdeps --print-module-deps --ignore-missing-deps .\build\libs\FifaBot.jar | ||
@rem set list needs modules | ||
for /f "delims=" %%i in ('%JDEPS_COMMAND%') do set MODULES=%%i | ||
@rem create minimal runtime | ||
jlink --add-modules %MODULES% --output .\build\AIbotRuntime | ||
@rem move .jar in AIbotRuntime | ||
cp .\build\libs\Fifa19Bot-1.0.jar .\build\AIbotRuntime | ||
cp .\build\libs\FifaBot.jar .\build\AIbotRuntime | ||
@rem create executable file | ||
cd build | ||
npx caxa --input .\AIbotRuntime --output FifaBot.exe --no-include-node -- "{{caxa}}/bin/java" "-jar" "{{caxa}}/FifaBot-1.0.jar" | ||
npx caxa --input .\AIbotRuntime --output FifaBot.exe --no-include-node -- "{{caxa}}/bin/java" "-jar" "{{caxa}}/FifaBot.jar" |