Skip to content

Commit 1bd735f

Browse files
author
Ookiineko
committed
fix not showing correct version warning
Signed-off-by: Ookiineko <chiisaineko@protonmail.com>
1 parent f25de4c commit 1bd735f

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

CollectionDowngrader.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ private static int Main(string[] args)
7070
catch (RealmException re)
7171
{
7272
Console.Error.WriteLine($"Error opening database:\n\n{re.Message}");
73-
if (re.Message.Contains("is less than last set version"))
73+
if (re.Message.Contains("less than last set version") ||
74+
re.Message.Contains("does not equal last set version"))
7475
{
7576
Console.Error.WriteLine("It seemed like the specified osu! (lazer) database is in a new format " +
7677
"which is not compatible with this version of CollectionDowngrader.");

0 commit comments

Comments
 (0)