mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-16 16:42:13 +00:00
Better incremental builds
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
#include "utils.h"
|
||||
#include "su.h"
|
||||
#include "selinux.h"
|
||||
#include "flags.h"
|
||||
|
||||
struct su_context *su_ctx;
|
||||
|
||||
@@ -182,7 +183,7 @@ int su_daemon_main(int argc, char **argv) {
|
||||
printf("%d\n", MAGISK_VER_CODE);
|
||||
exit2(EXIT_SUCCESS);
|
||||
case 'v':
|
||||
printf("%s\n", MAGISKSU_VER_STR);
|
||||
printf("%s\n", xstr(MAGISK_VERSION) ":MAGISKSU (topjohnwu)");
|
||||
exit2(EXIT_SUCCESS);
|
||||
case 'z':
|
||||
// Do nothing, placed here for legacy support :)
|
||||
|
@@ -11,7 +11,6 @@
|
||||
#include "db.h"
|
||||
#include "list.h"
|
||||
|
||||
#define MAGISKSU_VER_STR xstr(MAGISK_VERSION) ":MAGISKSU (topjohnwu)"
|
||||
#define DEFAULT_SHELL "/system/bin/sh"
|
||||
|
||||
struct su_info {
|
||||
|
Reference in New Issue
Block a user