File tree Expand file tree Collapse file tree
src/main/java/ru/nsu/bobrofon/easysshfs Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,8 +94,6 @@ dependencies {
9494 // implementation "com.github.topjohnwu.libsu:service:${libsuVersion}"
9595 // Optional: For com.topjohnwu.superuser.io classes
9696 // implementation "com.github.topjohnwu.libsu:io:${libsuVersion}"
97- // Optional: Bundle prebuilt BusyBox binaries
98- implementation " com.github.topjohnwu.libsu:busybox:${ libsuVersion} "
9997}
10098
10199def signingPropsFile = file(" signing.properties" )
Original file line number Diff line number Diff line change 1+ // SPDX-License-Identifier: MIT
12package ru.nsu.bobrofon.easysshfs
23
34import android.util.Log
4- import com.topjohnwu.superuser.BusyBoxInstaller
55import com.topjohnwu.superuser.Shell
66import com.topjohnwu.superuser.Shell.Builder
77import ru.nsu.bobrofon.easysshfs.log.AppLog
@@ -26,7 +26,6 @@ object ShellBuilder {
2626
2727 private fun build (): Shell {
2828 val builder = Builder .create()
29- .setInitializers(BusyBoxInstaller ::class ::java.get())
3029
3130 return if (isMagiskV27x()) {
3231 // TODO: remove logging after the following release (or maybe a few releases)
@@ -45,7 +44,6 @@ object ShellBuilder {
4544
4645 private fun isMagiskV27x (): Boolean {
4746 val sh = Builder .create()
48- .setInitializers(BusyBoxInstaller ::class ::java.get())
4947 .setFlags(Shell .FLAG_NON_ROOT_SHELL )
5048 .build()
5149
You can’t perform that action at this time.
0 commit comments