Commit 4d5a9f6e authored by topjohnwu's avatar topjohnwu

Bump version

parent 41f47acd
...@@ -8,8 +8,8 @@ android { ...@@ -8,8 +8,8 @@ android {
applicationId "com.topjohnwu.magisk" applicationId "com.topjohnwu.magisk"
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 27 targetSdkVersion 27
versionCode 103 versionCode 105
versionName "5.6.0" versionName "5.6.1"
javaCompileOptions { javaCompileOptions {
annotationProcessorOptions { annotationProcessorOptions {
argument('butterknife.debuggable', 'false') argument('butterknife.debuggable', 'false')
...@@ -46,7 +46,7 @@ repositories { ...@@ -46,7 +46,7 @@ repositories {
dependencies { dependencies {
implementation fileTree(include: ['*.jar'], dir: 'libs') implementation fileTree(include: ['*.jar'], dir: 'libs')
implementation project(':utils') implementation project(':utils')
implementation 'com.github.topjohnwu:libsu:1.1.0' implementation 'com.github.topjohnwu:libsu:1.1.1'
implementation 'com.android.support:recyclerview-v7:27.0.2' implementation 'com.android.support:recyclerview-v7:27.0.2'
implementation 'com.android.support:cardview-v7:27.0.2' implementation 'com.android.support:cardview-v7:27.0.2'
implementation 'com.android.support:design:27.0.2' implementation 'com.android.support:design:27.0.2'
......
...@@ -105,7 +105,7 @@ public class MagiskManager extends Shell.ContainerApp { ...@@ -105,7 +105,7 @@ public class MagiskManager extends Shell.ContainerApp {
Shell.setInitializer(new Shell.Initializer() { Shell.setInitializer(new Shell.Initializer() {
@Override @Override
public void onRootShellInit(@NonNull Shell shell) { public void onRootShellInit(@NonNull Shell shell) {
try (InputStream utils = MagiskManager.get().getAssets().open(Const.UTIL_FUNCTIONS); try (InputStream utils = getAssets().open(Const.UTIL_FUNCTIONS);
InputStream sudb = getResources().openRawResource(R.raw.sudb)) { InputStream sudb = getResources().openRawResource(R.raw.sudb)) {
shell.loadInputStream(null, null, utils); shell.loadInputStream(null, null, utils);
shell.loadInputStream(null, null, sudb); shell.loadInputStream(null, null, sudb);
......
### v5.6.0 ### v5.6.1
- Remove JNI requirement, Magisk Manager is now pure Java - Fix database crashes on F2FS with SQLite 3.21.0+
- Update the method of handling su database, may fix the issue that root requests won't save - Optimize several settings options
- Add the option to restore Magisk Manager after repackaging with random package name - Use native XML for settings migration
- Massive under-the-hood optimizations
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment