Improve config updates check

This commit is contained in:
2025-01-18 15:43:22 +08:00
parent 481bb97301
commit 16512f2711
7 changed files with 133 additions and 43 deletions

View File

@@ -1,5 +1,6 @@
part of 'comic_source.dart';
/// return true if ver1 > ver2
bool compareSemVer(String ver1, String ver2) {
ver1 = ver1.replaceFirst("-", ".");
ver2 = ver2.replaceFirst("-", ".");