diff options
| author | ruki <[email protected]> | 2023-11-17 22:54:38 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-11-17 22:54:38 +0800 |
| commit | 753a324f179a7eae3af8b05250e910a53b9a00fa (patch) | |
| tree | e3324df0a4309c806c90e837be9cc0feb1151a68 | |
| parent | 65d2bc2cad967c0de7304e00500d99ff13307d21 (diff) | |
fix error
| -rw-r--r-- | core/xpack.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/xpack.lua b/core/xpack.lua index 280b1365a..7145a3200 100644 --- a/core/xpack.lua +++ b/core/xpack.lua @@ -5,7 +5,9 @@ xpack("xmake") add_targets("demo") set_bindir(".") set_iconfile("src/demo/xmake.ico") - set_nsis_displayname("Xmake build utility ($(arch))") + if set_nsis_displayname then + set_nsis_displayname("Xmake build utility ($(arch))") + end on_load(function (package) local arch = package:arch() |
