Skip to content

Commit

Permalink
Improved build.sh for Windows executable.
Browse files Browse the repository at this point in the history
  • Loading branch information
nthnn committed Jun 30, 2024
1 parent 35f1f95 commit 51d41b8
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@ dpkg-deb --build uartix_0.1.0-1_amd64
rm -rf uartix_0.1.0-1_amd64
cd ..

mkdir -p dist/uartix_0.1.0-1_x86_64/bin
cp out/artifacts/Uartix_jar/Uartix.jar dist/uartix_0.1.0-1_x86_64/bin
cp launcher/target/x86_64-pc-windows-gnu/release/uartix.exe dist/uartix_0.1.0-1_x86_64/bin
cd dist/uartix_0.1.0-1_x86_64
zip -5 -r ../uartix_0.1.0-1_x86_64.zip *
mkdir -p dist/uartix_0.1.0-1_win_x86_64/bin
cp out/artifacts/Uartix_jar/Uartix.jar dist/uartix_0.1.0-1_win_x86_64/bin
cp launcher/target/x86_64-pc-windows-gnu/release/uartix.exe dist/uartix_0.1.0-1_win_x86_64/bin
cd dist/uartix_0.1.0-1_win_x86_64
zip -5 -r ../uartix_0.1.0-1_win_x86_64.zip *

cd ../..
rm -rf dist/uartix_0.1.0-1_x86_64
rm -rf dist/uartix_0.1.0-1_win_x86_64

0 comments on commit 51d41b8

Please sign in to comment.