From 6350bfb0ec8fe92474b7469600b338b1493ee443 Mon Sep 17 00:00:00 2001 From: xiaozhou233 Date: Mon, 30 Mar 2026 18:51:19 +0800 Subject: [PATCH] Refactor: Rename key --- src/libloader/includes/config.hpp | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/libloader/includes/config.hpp b/src/libloader/includes/config.hpp index 5856c5f..152aeb3 100644 --- a/src/libloader/includes/config.hpp +++ b/src/libloader/includes/config.hpp @@ -147,13 +147,16 @@ public: result.reserve(256); bool first = true; - append_kv(result, "version", "1", first); - append_kv(result, "juiceAgentAPIJarPath", info.JuiceAgentAPIJarPath, first); - append_kv(result, "juiceAgentNativePath", info.JuiceAgentNativePath, first); - append_kv(result, "entryJarPath", info.EntryJarPath, first); - append_kv(result, "entryClass", info.EntryClass, first); - append_kv(result, "entryMethod", info.EntryMethod, first); - append_kv(result, "injectionDir", info.InjectionDir, first); + append_kv(result, "Version", "1", first); + + append_kv(result, "EntryJarPath", info.EntryJarPath, first); + append_kv(result, "EntryClass", info.EntryClass, first); + append_kv(result, "EntryMethod", info.EntryMethod, first); + + append_kv(result, "JuiceAgentAPIJarPath", info.JuiceAgentAPIJarPath, first); + append_kv(result, "JuiceAgentNativePath", info.JuiceAgentNativePath, first); + + append_kv(result, "InjectionDir", info.InjectionDir, first); PLOGD << "Serialized args: " << result; return result;