mirror of
https://github.com/xiaozhou233/JuiceAgent.git
synced 2026-12-05 13:05:53 +08:00
Refactor: Config System
This commit is contained in:
1 parent
9dab75b5fd
commit
205e608d60
2 files changed
+40
-67
No files matched your search
@@ -0,0 +1,15 @@
|
||||
#include <libloader.hpp>
|
||||
#include <config.hpp>
|
||||
|
||||
namespace libloader
|
||||
{
|
||||
void entrypoint(const char* runtime_dir) {
|
||||
config::Config cfg(runtime_dir);
|
||||
if (!cfg.is_valid()) {
|
||||
PLOGE << "Invalid config";
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
} // namespace libloader
|
||||
Reference in new issue
Block a user