Skip to content

Commit

Permalink
Fix Powershell scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lymia committed Dec 15, 2023
1 parent 5fc8698 commit ab3f1f3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/ci/build-installer_win32.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ scripts/ci/install-graalvm.ps1

# Extract native tarballs
echo "Extracting native tarballs..."
rm -Recurse -Force -Verbose target/native-bin
if (Test-Path target/native-bin) {
rm -Recurse -Force -Verbose target/native-bin
}
New-Item target/native-bin -ItemType Directory -ea 0 -Verbose
cd target/native-bin
tar -xv -f ../../target/mppatch_ci_natives-linux.tar.gz
Expand All @@ -22,7 +24,9 @@ if (-Not (Test-Path "target/rcedit.exe" -PathType Leaf)) {

# Build the native-image
echo "Building native-image installer"
rm -Recurse -Force -Verbose target/native-image
if (Test-Path target/native-image) {
rm -Recurse -Force -Verbose target/native-image
}
sbt nativeImage
target/rcedit.exe "target/native-image/mppatch-installer.exe" `
--set-icon "scripts/res/mppatch-installer.ico" `
Expand Down

0 comments on commit ab3f1f3

Please sign in to comment.