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:
chinosk
2024-06-10 10:58:39 -05:00
committed by GitHub
parent 37e98f61a0
commit 75dda059f1
69 changed files with 20064 additions and 19389 deletions

View File

@@ -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) {