Skip to content

Commit

Permalink
extra/build-for-windows: build a zip file with unbook.exe, THIRDPARTY…
Browse files Browse the repository at this point in the history
….html, LICENSE, and README.md

This fixes #9
  • Loading branch information
ivan committed Dec 27, 2022
1 parent a463623 commit 242af93
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extra/build-for-windows
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#!/bin/sh

RUSTFLAGS="-Ctarget-feature=+crt-static --remap-path-prefix=C:\\Users\\$USER=" cargo build --release
cp -a ./target/release/unbook.exe ./
version=$(./unbook --version | cut -d ' ' -f 2)
7z a unbook-${version}.zip unbook.exe THIRDPARTY.html LICENSE README.md

0 comments on commit 242af93

Please sign in to comment.