[feat] improve CLI commands, controls and npm packaging

This commit is contained in:
dijunkun
2026-10-30 13:32:34 +08:00
parent 5d0a8f857f
commit e6e7e4c0f0
19 changed files with 359 additions and 102 deletions
+5
View File
@@ -9,6 +9,11 @@ local desktop_platform = is_plat("windows", "macosx", "linux") or
add_rules("mode.release", "mode.debug")
set_languages("c++17")
set_encodings("utf-8")
if is_plat("windows") then
-- Shared wire targets and third-party packages must use the same CRT as
-- the native applications; a setting inside apps/cli does not reach them.
set_runtimes("MT")
end
add_requires("nlohmann_json 3.11.3")
option("CROSSDESK_BUILD_DESKTOP")