mirror of
https://git.chinosk6.cn/chinosk/gkms-local.git
synced 2026-02-04 17:13:59 +00:00
Feature dump more text (#16)
* 修复 Dump 重复判断出错的问题 * 支持 dump 更多 generic 文本 * 支持加载多个 generic json 文件, 增加强制导出资源, 构建排除 `raw` 文件夹 * add version display * update build.yml * update deps * generic 文本支持去标签匹配 * Generic dump 只 dump 分割后的文本 * add sign * update event dispatcher * 增加 generic dump 开关、dump 文件编号调整 * update config.hpp * Add `BaseDefine.h`
This commit is contained in:
@@ -24,6 +24,11 @@ extern jmethodID showToastMethodId;
|
||||
|
||||
|
||||
namespace GakumasLocal::Log {
|
||||
std::string StringFormat(const char* fmt, ...) {
|
||||
GetParamStringResult(result);
|
||||
return result.c_str();
|
||||
}
|
||||
|
||||
void Log(int prio, const char* msg) {
|
||||
__android_log_write(prio, "GakumasLocal-Native", msg);
|
||||
}
|
||||
@@ -73,7 +78,6 @@ namespace GakumasLocal::Log {
|
||||
if (!env) {
|
||||
return;
|
||||
}
|
||||
g_javaVM->AttachCurrentThread(&env, nullptr);
|
||||
|
||||
jclass& kotlinClass = g_gakumasHookMainClass;
|
||||
if (!kotlinClass) {
|
||||
|
||||
Reference in New Issue
Block a user