mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 00:37:11 +00:00
Ignore BDSP backup paths
"Backup.bin"
This commit is contained in:
parent
f1264a1a97
commit
48742da4ae
1 changed files with 1 additions and 1 deletions
|
@ -813,7 +813,7 @@ namespace PKHeX.Core
|
|||
}
|
||||
}
|
||||
|
||||
public static bool IsBackup(string path) => Path.GetFileName(path) is "backup" || Path.GetExtension(path) is ".bak";
|
||||
public static bool IsBackup(string path) => Path.GetFileNameWithoutExtension(path).Equals("backup", StringComparison.InvariantCultureIgnoreCase) || Path.GetExtension(path) is ".bak";
|
||||
|
||||
/// <summary>
|
||||
/// Determines whether the save data size is valid for automatically detecting saves.
|
||||
|
|
Loading…
Reference in a new issue