Skip to content

Commit

Permalink
Fix CLI updates being cancelled when there is launcher metadata to up…
Browse files Browse the repository at this point in the history
…date
  • Loading branch information
comp500 committed Jun 23, 2023
1 parent 7b6daaf commit 6f05ac6
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ interface IUserInterface {

fun showCancellationDialog(): CancellationResult = CancellationResult.QUIT

fun showUpdateConfirmationDialog(oldVersions: List<Pair<String, String?>>, newVersions: List<Pair<String, String?>>): UpdateConfirmationResult = UpdateConfirmationResult.CANCELLED
fun showUpdateConfirmationDialog(oldVersions: List<Pair<String, String?>>, newVersions: List<Pair<String, String?>>): UpdateConfirmationResult {
// Always update metadata when using the CLI
return UpdateConfirmationResult.UPDATE
}

fun awaitOptionalButton(showCancel: Boolean, timeout: Long)

Expand Down

0 comments on commit 6f05ac6

Please sign in to comment.