diff --git a/src/main/kotlin/link/infra/packwiz/installer/ui/IUserInterface.kt b/src/main/kotlin/link/infra/packwiz/installer/ui/IUserInterface.kt index 525e247..cffcce8 100644 --- a/src/main/kotlin/link/infra/packwiz/installer/ui/IUserInterface.kt +++ b/src/main/kotlin/link/infra/packwiz/installer/ui/IUserInterface.kt @@ -23,7 +23,10 @@ interface IUserInterface { fun showCancellationDialog(): CancellationResult = CancellationResult.QUIT - fun showUpdateConfirmationDialog(oldVersions: List>, newVersions: List>): UpdateConfirmationResult = UpdateConfirmationResult.CANCELLED + fun showUpdateConfirmationDialog(oldVersions: List>, newVersions: List>): UpdateConfirmationResult { + // Always update metadata when using the CLI + return UpdateConfirmationResult.UPDATE + } fun awaitOptionalButton(showCancel: Boolean, timeout: Long)