mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-16 12:49:48 +00:00
Make Zygisk 1st class citizen
This commit is contained in:
@@ -20,11 +20,9 @@ static int call_applet(int argc, char *argv[]) {
|
||||
return (*applet_main[i])(argc, argv);
|
||||
}
|
||||
}
|
||||
#if ENABLE_INJECT
|
||||
if (str_starts(base, "app_process")) {
|
||||
return app_process_main(argc, argv);
|
||||
}
|
||||
#endif
|
||||
fprintf(stderr, "%s: applet not found\n", base.data());
|
||||
return 1;
|
||||
}
|
||||
@@ -48,4 +46,3 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
return call_applet(argc, argv);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user