From a8cb0e21ce767d7369018221014f426f2f77b92f Mon Sep 17 00:00:00 2001 From: dijunkun Date: Tue, 1 Sep 2026 01:43:09 +0800 Subject: [PATCH] [fix] load desktop options on first configuration --- xmake.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xmake.lua b/xmake.lua index 95beb74..57f8be0 100644 --- a/xmake.lua +++ b/xmake.lua @@ -2,7 +2,8 @@ set_project("crossdesk") set_license("GPL-3.0-only") local source_dir = os.getenv("CROSSDESK_SOURCE_DIR") or os.scriptdir() -local desktop_platform = is_plat("windows", "macosx", "linux") +local desktop_platform = is_plat("windows", "macosx", "linux") or + (not is_plat("iphoneos") and is_host("windows", "macosx", "linux")) add_rules("mode.release", "mode.debug") set_languages("c++17")