7 Commits

Author SHA1 Message Date
sus
ac20b76eaf js: add moduleInfo method (#2057)
Add a `ksu.moduleInfo()` in JS.
resolves https://github.com/tiann/KernelSU/issues/1571

test module's index.html

![image](https://github.com/user-attachments/assets/39920606-452c-4b19-abca-967c25146d6a)

The test module:

[moduleInfo_test.zip](https://github.com/user-attachments/files/17001977/moduleInfo_test.zip)

test module's result:

![image](https://github.com/user-attachments/assets/9dbbd2e8-f7ea-418f-b545-66d33ce1b3ae)
2024-09-14 21:52:11 +08:00
Mufanc
2fb5334ac6 fix kernelsu.spawn && add type definitions (#1395) 2024-02-26 15:35:23 +08:00
weishu
a829707b16 js: Allow spawn(command, options) call, fix memory leak 2024-02-23 09:16:00 +08:00
weishu
77d16ac896 js: support spawn jsapi 2024-02-23 00:16:04 +08:00
weishu
d02855a40a js: simplify the exec call 2024-02-22 22:41:50 +08:00
weishu
b904680f13 js: Add more API and README 2024-02-22 22:09:27 +08:00
weishu
811c68cac0 js: Add jsapi package 2024-02-22 20:42:15 +08:00