mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-29 06:27:34 +00:00
Restructure the native module
Consolidate all code into the src folder
This commit is contained in:
10
native/src/core/applet_stub.cpp
Normal file
10
native/src/core/applet_stub.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#include <sys/stat.h>
|
||||
|
||||
#include <magisk.hpp>
|
||||
#include <base.hpp>
|
||||
|
||||
int main(int argc, char *argv[]) {
|
||||
umask(0);
|
||||
cmdline_logging();
|
||||
return APPLET_STUB_MAIN(argc, argv);
|
||||
}
|
||||
Reference in New Issue
Block a user