Skip to content

Commit

Permalink
Update jshark
Browse files Browse the repository at this point in the history
This commit adds prebuilt java binaries to the dist and shortcuts to build and use the java-based tools from the win32 command line
  • Loading branch information
shogundevel committed Mar 26, 2023
1 parent e04acf0 commit 8176404
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 0 deletions.
Binary file added bin/jgameshark.jar
Binary file not shown.
Binary file added bin/jshark.jar
Binary file not shown.
10 changes: 10 additions & 0 deletions build-jshark.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

mkdir temp
javac -d temp -sourcepath jshark jshark/shark/Shark.java
jar cfe bin/jshark.jar shark.Shark -C temp *
rmdir /S /Q temp

mkdir temp
javac -d temp -sourcepath jshark jshark/GameShark.java
jar cfe bin/jgameshark.jar GameShark -C temp *
rmdir /S /Q temp
2 changes: 2 additions & 0 deletions jgameshark.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

java -jar "%~dp0\bin\jgameshark.jar" %*
2 changes: 2 additions & 0 deletions jshark-tool.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

java -jar "%~dp0\bin\jshark.jar" "%~dp0\bin\tool" %*
2 changes: 2 additions & 0 deletions jshark.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

java -jar "%~dp0\bin\jshark.jar" %*

0 comments on commit 8176404

Please sign in to comment.