diff --git a/app/build.gradle b/app/build.gradle index f03c0e5..adc3b0d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -94,8 +94,6 @@ dependencies { // implementation "com.github.topjohnwu.libsu:service:${libsuVersion}" // Optional: For com.topjohnwu.superuser.io classes // implementation "com.github.topjohnwu.libsu:io:${libsuVersion}" - // Optional: Bundle prebuilt BusyBox binaries - implementation "com.github.topjohnwu.libsu:busybox:${libsuVersion}" } def signingPropsFile = file("signing.properties") diff --git a/app/src/main/java/ru/nsu/bobrofon/easysshfs/ShellBuilder.kt b/app/src/main/java/ru/nsu/bobrofon/easysshfs/ShellBuilder.kt index 20c0225..f551ecb 100644 --- a/app/src/main/java/ru/nsu/bobrofon/easysshfs/ShellBuilder.kt +++ b/app/src/main/java/ru/nsu/bobrofon/easysshfs/ShellBuilder.kt @@ -1,7 +1,7 @@ +// SPDX-License-Identifier: MIT package ru.nsu.bobrofon.easysshfs import android.util.Log -import com.topjohnwu.superuser.BusyBoxInstaller import com.topjohnwu.superuser.Shell import com.topjohnwu.superuser.Shell.Builder import ru.nsu.bobrofon.easysshfs.log.AppLog @@ -26,7 +26,6 @@ object ShellBuilder { private fun build(): Shell { val builder = Builder.create() - .setInitializers(BusyBoxInstaller::class::java.get()) return if (isMagiskV27x()) { // TODO: remove logging after the following release (or maybe a few releases) @@ -45,7 +44,6 @@ object ShellBuilder { private fun isMagiskV27x(): Boolean { val sh = Builder.create() - .setInitializers(BusyBoxInstaller::class::java.get()) .setFlags(Shell.FLAG_NON_ROOT_SHELL) .build()