Skip to content

Commit 2e0a2dc

Browse files
committed
chore: update the update error message
1 parent 19b48f0 commit 2e0a2dc

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

sync-script/src/main/kotlin/services/updater/JarAutoUpdater.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ object JarAutoUpdater {
6868
// TODO: This is duplicated twice
6969
detailsText =
7070
"${downloadedBytes.convertBytesToReadableMegabytesAsString()} MB /" +
71-
" ${bytesToDownload.convertBytesToReadableMegabytesAsString()} MB",
71+
" ${bytesToDownload.convertBytesToReadableMegabytesAsString()} MB",
7272
)
7373
},
7474
).downloadFile(fileEntityType = "JAR")
@@ -116,7 +116,7 @@ object JarAutoUpdater {
116116
if (latestProjectVersionString == null) {
117117
Logger.error {
118118
"\uFE0F It seems that the project version is missing, it could have been moved somewhere else. " +
119-
"Consider updating manually."
119+
"Consider updating manually."
120120
}
121121
return false
122122
}
@@ -300,7 +300,7 @@ object JarAutoUpdater {
300300
private fun buildUpdateSuccessMessage(): Pair<String, String> =
301301
Pair(
302302
"Update Complete",
303-
"${ProjectInfoConstants.DISPLAY_NAME} has been updated. Relaunch to use the new version.",
303+
"${ProjectInfoConstants.DISPLAY_NAME} has been updated. Relaunch to use the new version. Please ignore the error that's shown by the launcher.",
304304
)
305305

306306
private fun shouldShowSuccessMessage(): Boolean = GuiState.isGuiEnabled

0 commit comments

Comments
 (0)