Skip to content

Commit 603ac6f

Browse files
support MiPushFramework 0930
1 parent e3c376f commit 603ac6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jni/main/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ int is_app_need_hook(JNIEnv *env, jstring appDataDir) {
5050
}
5151
} else {
5252
char path[PATH_MAX];
53-
snprintf(path, PATH_MAX, CONFIG_PATH "/packages/%s", package_name);
53+
snprintf(path, PATH_MAX, CONFIG_PATH "/packages/%d.%s", user, package_name);
5454
return access(path, F_OK) == 0;
5555
}
5656
return 0;

0 commit comments

Comments
 (0)