[feat] integrate CrossDesk CLI with terminal rendering and npm packaging

This commit is contained in:
dijunkun
2026-10-30 10:42:23 +08:00
parent 2f57d0aba3
commit 699d867956
34 changed files with 3811 additions and 18 deletions
+6 -1
View File
@@ -1,4 +1,4 @@
function setup_options_and_dependencies()
function setup_options_and_dependencies(enable_dependencies)
option("CROSSDESK_UPDATE_PUBLIC_KEY")
set_showmenu(true)
set_description("Ed25519 public key (64 lowercase hex characters); empty disables automatic installation")
@@ -34,6 +34,11 @@ function setup_options_and_dependencies()
set_description("Build CrossDesk as a portable package that stores data beside the executable")
option_end()
-- Keep options discoverable when switching back from a CLI-only build.
if enable_dependencies == false then
return
end
-- set_policy("build.warning", true)
-- set_warnings("all", "extra")
-- add_cxxflags("/W4", "/WX")