mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-16 16:51:23 +00:00
Support building individual applets
This commit is contained in:
9
native/jni/core/applet_stub.cpp
Normal file
9
native/jni/core/applet_stub.cpp
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <magisk.h>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
umask(0);
|
||||
cmdline_logging();
|
||||
return APPLET_STUB_MAIN(argc, argv);
|
||||
}
|
Reference in New Issue
Block a user