Bump version

This commit is contained in:
topjohnwu 2018-02-22 01:08:53 +08:00
parent 41f47acd76
commit 4d5a9f6e15
3 changed files with 8 additions and 9 deletions

View File

@ -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 {
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'

View File

@ -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);

View File

@ -1,5 +1,4 @@
### 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