summaryrefslogtreecommitdiff
path: root/xmake/scripts
diff options
context:
space:
mode:
authorruki <[email protected]>2023-11-14 22:54:40 +0800
committerruki <[email protected]>2023-11-14 22:54:40 +0800
commita6712c961f931d3691e8ef3cf51ff3979610fec9 (patch)
treece44a62f2498fd16a5d8ac0d9aa069274456218d /xmake/scripts
parenta9594182fa76a1627f737c1882b961c9050b88ec (diff)
fix workdir for nsis
Diffstat (limited to 'xmake/scripts')
-rw-r--r--xmake/scripts/xpack/nsis/makensis.nsi3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/scripts/xpack/nsis/makensis.nsi b/xmake/scripts/xpack/nsis/makensis.nsi
index 7bda3ed81..ecb1748d1 100644
--- a/xmake/scripts/xpack/nsis/makensis.nsi
+++ b/xmake/scripts/xpack/nsis/makensis.nsi
@@ -23,6 +23,9 @@ Name "${PACKAGE_NAME} - v${VERSION}"
; set the output file path
OutFile "${PACKAGE_OUTPUTFILE}"
+; set the working directory
+!cd "${PACKAGE_WORKDIR}"
+
; use unicode
Unicode true