Skip to content

Commit

Permalink
Proper fix qmod build
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-r-elp committed Jul 6, 2024
1 parent 598f7af commit a27d2a4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion buildQMOD.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,12 @@ $qmod = $qmodName + ".qmod"
# Compress-Archive -Path $filelist -DestinationPath $zip -Update
# Move-Item $zip $qmod -Force

& qpm qmod zip -i ./build/ -i ./extern/libs/ $qmod
if ($package -eq $true) {
& ./qpm qmod zip -i ./build/ -i ./extern/libs/ $qmod
}
else {
& qpm qmod zip -i ./build/ -i ./extern/libs/ $qmod
}
# Move-Item multiplayer-core.qmod $qmod -Force

echo "Task Completed"

0 comments on commit a27d2a4

Please sign in to comment.