Skip to content

Commit

Permalink
RMG: fix filename validation for portable windows in UpdateDialog.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosalie241 committed Jan 31, 2025
1 parent ffc45e2 commit c0cdfb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/RMG/UserInterface/Dialog/Update/UpdateDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ void UpdateDialog::accept(void)
{
if (lowerFilename.contains("windows64") &&
lowerFilename.contains("portable") &&
lowerFilename.endsWith(".exe"))
lowerFilename.endsWith(".zip"))
{
filenameToDownload = filename;
urlToDownload = QUrl(url);
Expand Down

0 comments on commit c0cdfb2

Please sign in to comment.