mirror of
https://github.com/ttttupup/wxhelper.git
synced 2024-11-22 18:29:23 +08:00
暂时不关闭hook信息
This commit is contained in:
parent
a94dfa9f71
commit
1aa7182a9a
@ -150,9 +150,8 @@ public class InitWeChat implements CommandLineRunner {
|
|||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
Runtime.getRuntime().addShutdownHook(new Thread(() -> {
|
// FIXME: 2023/6/2 程序结束后关闭hook会偶尔出现微信闪退情况,暂时禁用
|
||||||
HttpSyncUtil.exec(HttpAsyncUtil.Type.关闭hook, new JsonObject());
|
// Runtime.getRuntime().addShutdownHook(new Thread(HttpSendUtil::关闭hook));
|
||||||
}));
|
|
||||||
//netstat -aon|findstr "端口号"
|
//netstat -aon|findstr "端口号"
|
||||||
// c.exe -I 4568 -p D:\exec\wxhelper.dll -m 4568
|
// c.exe -I 4568 -p D:\exec\wxhelper.dll -m 4568
|
||||||
}
|
}
|
||||||
|
@ -32,6 +32,10 @@ class HttpSendUtilTest {
|
|||||||
void 开启hook() {
|
void 开启hook() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@Test
|
||||||
|
void 关闭ook() {
|
||||||
|
HttpSendUtil.关闭hook();
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
void 获取群成员() {
|
void 获取群成员() {
|
||||||
|
Loading…
Reference in New Issue
Block a user