mirror of
https://github.com/kodjodevf/mangayomi.git
synced 2026-03-11 21:35:32 +00:00
fixed archive bug
This commit is contained in:
parent
202c073859
commit
3b2e6f9fcc
3 changed files with 3 additions and 3 deletions
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
|
|
@ -190,7 +190,7 @@ jobs:
|
|||
|
||||
- name: build windows exe
|
||||
run: |
|
||||
dart run inno_bundle:build --release --app-version ${{ github.ref_name }} | ForEach-Object { $_ -replace "[a-z]", "" }
|
||||
dart run inno_bundle:build --release --app-version ${{ github.ref_name }}
|
||||
|
||||
- name: build windows zip
|
||||
run: |
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ enum BackupType { unknown, mangayomi, mihon, aniyomi, kotatsu, neko }
|
|||
|
||||
BackupType checkBackupType(String path, Archive archive) {
|
||||
if (path.toLowerCase().contains("mangayomi") &&
|
||||
archive.files.first.name.endsWith(".backup.db")) {
|
||||
(archive.files.firstOrNull?.name ?? "").endsWith(".backup.db")) {
|
||||
return BackupType.mangayomi;
|
||||
} else if (path.toLowerCase().contains("kotatsu") &&
|
||||
archive.files.where((f) {
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ final themeModeStateProvider =
|
|||
|
||||
typedef _$ThemeModeState = AutoDisposeNotifier<bool>;
|
||||
String _$followSystemThemeStateHash() =>
|
||||
r'0c65e1471807dddb2f536d336d1f44b29e9e3a5a';
|
||||
r'a2d5e573e05364c3c89abe81f25c7f39b0ae91e2';
|
||||
|
||||
/// See also [FollowSystemThemeState].
|
||||
@ProviderFor(FollowSystemThemeState)
|
||||
|
|
|
|||
Loading…
Reference in a new issue