diff options
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 |
