mirror of
https://github.com/xiaozhou233/JuiceAgent.git
synced 2026-12-05 13:05:53 +08:00
Impl: Read config and print
This commit is contained in:
1 parent
205e608d60
commit
3ce1bccf02
4 files changed
+91
-23
No files matched your search
@@ -1,3 +1,4 @@
|
||||
#include <JuiceAgent/Logger.hpp>
|
||||
#include <libloader.hpp>
|
||||
#include <config.hpp>
|
||||
|
||||
@@ -7,9 +8,9 @@ namespace libloader
|
||||
config::Config cfg(runtime_dir);
|
||||
if (!cfg.is_valid()) {
|
||||
PLOGE << "Invalid config";
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
InjectionInfo info = cfg.get_injection_info();
|
||||
config::print_injection_info(info);
|
||||
}
|
||||
} // namespace libloader
|
||||
Reference in new issue
Block a user