diff options
author | Jari Vetoniemi <mailroxas@gmail.com> | 2018-11-22 15:24:43 +0200 |
---|---|---|
committer | Jari Vetoniemi <mailroxas@gmail.com> | 2018-11-22 15:24:43 +0200 |
commit | 3038f6612152d2a0ee75a6d49facab46539f857a (patch) | |
tree | 30a3bb9eced0f5b1d3c5663ef83c5d770105bc80 /src | |
parent | dc55b81456e408850a44f8368819d41d50cc02d8 (diff) |
PACKAGE_CODE_PATH == apk file not extracted dir
Diffstat (limited to 'src')
-rw-r--r-- | src/loader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/loader.c b/src/loader.c index 7eaf54d..bbfbdd2 100644 --- a/src/loader.c +++ b/src/loader.c @@ -126,7 +126,7 @@ run_jni_game(struct jvm *jvm) const jobject context = jvm->native.AllocObject(&jvm->env, jvm->native.FindClass(&jvm->env, "android/app/Activity")); unity.native_init_jni.fun(&jvm->env, context, context); - unity.native_file.fun(&jvm->env, context, jvm->env->NewStringUTF(&jvm->env, getenv("ANDROID_PACKAGE_FILE"))); + unity.native_file.fun(&jvm->env, context, jvm->env->NewStringUTF(&jvm->env, getenv("ANDROID_PACKAGE_CODE_PATH"))); { DIR *dir; |