Add external borderless helper

Signed-off-by: Sean Du <do4suki@gmail.com>
This commit is contained in:
2026-06-22 07:58:28 +08:00
parent a8433d9d86
commit 06d0923109
10 changed files with 649 additions and 188 deletions
+7 -1
View File
@@ -59,7 +59,8 @@ namespace config {
"{\r\n"
" \"force_http\": false,\r\n"
" \"api_url\": \"apis.game.starlight-stage.jp/\",\r\n"
" \"asset_url\": \"asset-starlight-stage.akamaized.net/\"\r\n"
" \"asset_url\": \"asset-starlight-stage.akamaized.net/\",\r\n"
" \"launch_borderless_helper\": true\r\n"
"}\r\n";
}
@@ -114,8 +115,13 @@ namespace config {
read_bool(document, "force_http", g_urls.force_http);
read_string(document, "api_url", g_urls.api_url);
read_string(document, "asset_url", g_urls.asset_url);
read_bool(document, "launch_borderless_helper", g_urls.launch_borderless_helper);
hook_logf("[cgss-dmm-hook] force_http=%s", g_urls.force_http ? "true" : "false");
hook_logf(
"[cgss-dmm-hook] launch_borderless_helper=%s",
g_urls.launch_borderless_helper ? "true" : "false"
);
if (!g_urls.api_url.empty()) {
hook_logf("[cgss-dmm-hook] normalized api_url=%s", g_urls.api_url.c_str());