Skip to content

Commit

Permalink
update windows build script
Browse files Browse the repository at this point in the history
  • Loading branch information
B0ney committed Oct 17, 2023
1 parent 18e25ed commit 1e92c18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dist/build-windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,13 @@ $ARTIFACT_DIR="$RELEASE_DIR/artifact"
# Compile application with features
cargo build -p xmodits-gui --release --features=$FEATURES

# Create artifact folder
# Create artifact folder, remove residual files
mkdir -Force -p "target/release/artifact"
rm "target/release/artifact/*"

# Create archive folder
# Create archive folder, remove residual files
mkdir -Force -p "target/release/archive"
rm "target/release/archive/*"

# move and rename xmodits-gui.exe to xmodits in archive folder
mv -Force "target/release/xmodits-gui.exe" "target/release/archive/xmodits.exe"
Expand Down
Empty file removed dist/build-windows.sh
Empty file.

0 comments on commit 1e92c18

Please sign in to comment.