mirror of
https://github.com/xiaozhou233/JuiceAgent.git
synced 2026-12-05 21:15:56 +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,19 +0,0 @@
|
||||
#ifndef JUICEAGENT_H
|
||||
#define JUICEAGENT_H
|
||||
|
||||
#define INJECT_PATH_MAX 260
|
||||
|
||||
typedef struct _InjectionInfo {
|
||||
char JuiceAgentAPIJarPath[INJECT_PATH_MAX];
|
||||
char JuiceAgentNativePath[INJECT_PATH_MAX];
|
||||
|
||||
char EntryJarPath[INJECT_PATH_MAX];
|
||||
char EntryClass[INJECT_PATH_MAX];
|
||||
char EntryMethod[INJECT_PATH_MAX];
|
||||
|
||||
char InjectionDir[INJECT_PATH_MAX];
|
||||
} InjectionInfoType;
|
||||
|
||||
extern InjectionInfoType InjectionInfo;
|
||||
|
||||
#endif // JUICEAGENT_H
|
||||
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
struct InjectionInfo {
|
||||
std::string JuiceAgentAPIJarPath;
|
||||
std::string JuiceAgentNativePath;
|
||||
|
||||
std::string EntryJarPath;
|
||||
std::string EntryClass;
|
||||
std::string EntryMethod;
|
||||
|
||||
std::string InjectionDir;
|
||||
};
|
||||
Reference in new issue
Block a user