diff options
| author | ruki <[email protected]> | 2023-11-18 00:42:27 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-11-18 00:42:27 +0800 |
| commit | 8a593a2d3ad47e57064516643fd8cb8442cbb52d (patch) | |
| tree | ad565098d347bcc293f0f635cf6e6816a9d7054d /xmake/plugins/pack/nsis/main.lua | |
| parent | 4ec6682dea22ec5a2e4b818700288e625f761d52 (diff) | |
add set_prefixdir
Diffstat (limited to 'xmake/plugins/pack/nsis/main.lua')
| -rw-r--r-- | xmake/plugins/pack/nsis/main.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/plugins/pack/nsis/main.lua b/xmake/plugins/pack/nsis/main.lua index 660192b02..f85ad271d 100644 --- a/xmake/plugins/pack/nsis/main.lua +++ b/xmake/plugins/pack/nsis/main.lua @@ -61,7 +61,7 @@ end -- translate the file path function _translate_filepath(package, filepath) - return filepath:replace(package:installdir(), "$InstDir", {plain = true}) + return filepath:replace(package:rootdir(), "$InstDir", {plain = true}) end -- get command string |
