diff --git a/CHANGES b/CHANGES index 43079ec3d..b0818a41f 100644 --- a/CHANGES +++ b/CHANGES @@ -20,6 +20,7 @@ Other fixes: - Qt: Fix LCDC background priority/enable bit being mis-mapped in I/O view - Qt: Fix saving named states breaking when screenshot states disabled (fixes mgba.io/i/3320) - Qt: Fix potential crash on Wayland with OpenGL (fixes mgba.io/i/3276) + - Qt: Fix installer updates if a version number is in the filename (fixes mgba.io/i/3109) - Updater: Fix updating appimage across filesystems Misc: - Qt: Make window corners square on Windows 11 (fixes mgba.io/i/3285) diff --git a/src/platform/qt/GBAApp.cpp b/src/platform/qt/GBAApp.cpp index d53985313..31618c429 100644 --- a/src/platform/qt/GBAApp.cpp +++ b/src/platform/qt/GBAApp.cpp @@ -316,7 +316,7 @@ void GBAApp::cleanupAfterUpdate() { void GBAApp::restartForUpdate() { QFileInfo updaterPath(m_updater.updateInfo().url.path()); QDir configDir(ConfigController::configDir()); - if (updaterPath.completeSuffix() == "exe") { + if (updaterPath.suffix() == "exe") { m_invokeOnExit = configDir.filePath(QLatin1String("update.exe")); } else { QFile updater(":/updater");