File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
src/main/kotlin/app/revanced/cli/command/utility Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ internal object InstallCommand : Runnable {
31
31
32
32
@Option(
33
33
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." ],
35
35
)
36
36
private var packageName: String? = null
37
37
@@ -49,14 +49,12 @@ internal object InstallCommand : Runnable {
49
49
}
50
50
51
51
when (result) {
52
- RootInstallerResult .SUCCESS ->
53
- logger.info(" Mounted the APK file" )
52
+ RootInstallerResult .SUCCESS , AdbInstallerResult . Success ->
53
+ logger.info(" Installed the APK file" )
54
54
RootInstallerResult .FAILURE -> {
55
55
logger.severe(" Failed to mount the APK file" )
56
56
throw Exception ()
57
57
}
58
- AdbInstallerResult .Success ->
59
- logger.info(" Installed the APK file" )
60
58
is AdbInstallerResult .Failure -> {
61
59
logger.severe(result.exception.toString())
62
60
throw Exception ()
You can’t perform that action at this time.
0 commit comments