File tree Expand file tree Collapse file tree
src/main/kotlin/app/revanced/cli/command/utility Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ internal object InstallCommand : Runnable {
3131
3232 @Option(
3333 names = [" -m" , " --mount" ],
34- description = [" Mount the supplied APK file over the app with the given package name." ],
34+ description = [" Mount the supplied APK file over the app with the supplied package name." ],
3535 )
3636 private var packageName: String? = null
3737
@@ -49,14 +49,12 @@ internal object InstallCommand : Runnable {
4949 }
5050
5151 when (result) {
52- RootInstallerResult .SUCCESS ->
53- logger.info(" Mounted the APK file" )
52+ RootInstallerResult .SUCCESS , AdbInstallerResult . Success ->
53+ logger.info(" Installed the APK file" )
5454 RootInstallerResult .FAILURE -> {
5555 logger.severe(" Failed to mount the APK file" )
5656 throw Exception ()
5757 }
58- AdbInstallerResult .Success ->
59- logger.info(" Installed the APK file" )
6058 is AdbInstallerResult .Failure -> {
6159 logger.severe(result.exception.toString())
6260 throw Exception ()
You can’t perform that action at this time.
0 commit comments