summaryrefslogtreecommitdiff
path: root/core/xpack.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-11-22 00:48:56 +0800
committerruki <[email protected]>2023-11-22 00:48:56 +0800
commit8c8f130f69343bbb50dafa718a8fe6df63497974 (patch)
tree0c5831419ce91e09f934ec1390a31c59091f2305 /core/xpack.lua
parent574d9bca0e5d7a01fdf2500ac83c75f5927bb69d (diff)
add title
Diffstat (limited to 'core/xpack.lua')
-rw-r--r--core/xpack.lua8
1 files changed, 1 insertions, 7 deletions
diff --git a/core/xpack.lua b/core/xpack.lua
index 07e77c1ca..18b7073d0 100644
--- a/core/xpack.lua
+++ b/core/xpack.lua
@@ -1,5 +1,6 @@
xpack("xmake")
set_homepage("https://xmake.io")
+-- set_title("Xmake build utility ($(arch))")
set_description("A cross-platform build utility based on Lua.")
set_copyright("Copyright (C) 2015-present, TBOOX Open Source Group")
set_licensefile("../LICENSE.md")
@@ -7,7 +8,6 @@ xpack("xmake")
add_targets("demo")
set_bindir(".")
set_iconfile("src/demo/xmake.ico")
- set_nsis_displayname("Xmake build utility ($(arch))")
on_load(function (package)
local arch = package:arch()
@@ -63,12 +63,6 @@ xpack("xmake")
end
end)
- add_nsis_installcmds("Enable Long Path", [[
- ${If} $NoAdmin == "false"
- ; Enable long path
- WriteRegDWORD ${HKLM} "SYSTEM\CurrentControlSet\Control\FileSystem" "LongPathsEnabled" 1
- ${EndIf}]], {description = "Increases the maximum path length limit, up to 32,767 characters (before 256)."})
-
xpack("xmakesrc")
set_formats("src_zip", "src_targz")
set_basename("xmake-v$(version)")