mirror of
https://github.com/ReVanced/revanced-cli.git
synced 2026-01-20 01:43:58 +00:00
feat: Make `--out´ option optional
This commit is contained in:
@@ -18,7 +18,9 @@ private object CLIVersionProvider : IVersionProvider {
|
||||
MainCommand::class.java.getResourceAsStream(
|
||||
"/app/revanced/cli/version.properties"
|
||||
)?.use { stream ->
|
||||
Properties().apply { load(stream) }.let {
|
||||
Properties().apply {
|
||||
load(stream)
|
||||
}.let {
|
||||
"ReVanced CLI v${it.getProperty("version")}"
|
||||
}
|
||||
} ?: "ReVanced CLI")
|
||||
|
||||
Reference in New Issue
Block a user