From de7c6714437d4a1989ab378955cff4bb0a95b6ce Mon Sep 17 00:00:00 2001 From: ArtDev <45949002+artdeell@users.noreply.github.com> Date: Sat, 9 Jan 2021 10:53:50 +0300 Subject: [PATCH 1/4] Update jre_launcher.c --- app_pojavlauncher/src/main/jni/jre_launcher.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app_pojavlauncher/src/main/jni/jre_launcher.c b/app_pojavlauncher/src/main/jni/jre_launcher.c index 347d01ffe..6c043930d 100644 --- a/app_pojavlauncher/src/main/jni/jre_launcher.c +++ b/app_pojavlauncher/src/main/jni/jre_launcher.c @@ -147,7 +147,7 @@ static void *logger_thread() { rsize=rsize-1; } buf[rsize]=0x00; - __android_log_write(ANDROID_LOG_SILENT,tag,buf); + __android_log_write(ANDROID_LOG_INFO,tag,buf); } } From 9d72a6b7204540724bbf26c4fb6e3fdf1a4af09b Mon Sep 17 00:00:00 2001 From: Duy Tran Khanh <40482367+khanhduytran0@users.noreply.github.com> Date: Sat, 9 Jan 2021 14:57:02 +0700 Subject: [PATCH 2/4] Temporary get rid of auto date --- app_pojavlauncher/build.gradle | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app_pojavlauncher/build.gradle b/app_pojavlauncher/build.gradle index 624ed587c..4c8be1d49 100644 --- a/app_pojavlauncher/build.gradle +++ b/app_pojavlauncher/build.gradle @@ -24,13 +24,13 @@ android { minSdkVersion 21 targetSdkVersion 29 versionCode 156237 - versionName "3.3.1b_6409b_${getDate()}" + versionName "3.3.1b_6409b_20200109" // getDate() multiDexEnabled true //important } - def getDate() { - return new Date().format('yyyyMMdd') - } +// def getDate() { +// return new Date().format('yyyyMMdd') +// } buildTypes { debug { From a7ae357dd1ff3d498ec0108a1a802db39cda090a Mon Sep 17 00:00:00 2001 From: Duy Tran Khanh <40482367+khanhduytran0@users.noreply.github.com> Date: Sat, 9 Jan 2021 15:03:43 +0700 Subject: [PATCH 3/4] Try to fix auto date --- app_pojavlauncher/build.gradle | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/app_pojavlauncher/build.gradle b/app_pojavlauncher/build.gradle index 4c8be1d49..88fc81d2e 100644 --- a/app_pojavlauncher/build.gradle +++ b/app_pojavlauncher/build.gradle @@ -1,5 +1,9 @@ apply plugin: 'com.android.application' +def getDate() { + return new Date().format('yyyyMMdd') +} + android { compileSdkVersion 29 dexOptions { @@ -24,14 +28,10 @@ android { minSdkVersion 21 targetSdkVersion 29 versionCode 156237 - versionName "3.3.1b_6409b_20200109" // getDate() + versionName "3.3.1b_6409b_" + getDate() multiDexEnabled true //important } -// def getDate() { -// return new Date().format('yyyyMMdd') -// } - buildTypes { debug { minifyEnabled false From cd664622bd62c64bc1146ece92a8f003d7899bd2 Mon Sep 17 00:00:00 2001 From: ArtDev <45949002+artdeell@users.noreply.github.com> Date: Sat, 9 Jan 2021 11:03:52 +0300 Subject: [PATCH 4/4] Update JREUtils.java --- .../src/main/java/net/kdt/pojavlaunch/utils/JREUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/JREUtils.java b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/JREUtils.java index 771816f2d..2bbb0aa30 100644 --- a/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/JREUtils.java +++ b/app_pojavlauncher/src/main/java/net/kdt/pojavlaunch/utils/JREUtils.java @@ -96,7 +96,7 @@ public class JREUtils public void run() { try { if (logcatPb == null) { - logcatPb = new ProcessBuilder().command("logcat", /* "-G", "1mb", */ "-v", "brief", "*:S").redirectErrorStream(true); + logcatPb = new ProcessBuilder().command("logcat", /* "-G", "1mb", */ "-v", "brief", "-s", "jrelog:I").redirectErrorStream(true); } Log.i("jrelog-logcat","Clearing logcat");