[Update&BugFix] parameters, debug info, bugfix

1. allow injected parameters
2. add print debug info
3. some logic error
This commit is contained in:
xiaozhou233 committed 2025-10-06 22:38:33 +08:00
1 parent e4501f1cf1
commit 71c96b1333
7 files changed
+361 -82

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
#ifndef INJECTPARAMETERS_H
#define INJECTPARAMETERS_H
#include <windows.h>
typedef struct InjectParameters{
char loaderDir[MAX_PATH];
} InjectParameters;
#endif
+1 -1
View File
@@ -13,7 +13,7 @@ extern "C" {
* Signature: (ILjava/lang/String;)Z
*/
JNIEXPORT jboolean JNICALL Java_cn_xiaozhou233_orangex_injector_InjectorNative_inject
(JNIEnv *, jobject, jint, jstring);
(JNIEnv *, jobject, jint, jstring, jstring);
#ifdef __cplusplus
}