Commit graph

1304 commits

Author SHA1 Message Date
NBA2K1
eb4f82f040 Why create and then delete TpmDirectory?
When deleteTmpDirectory() calls getTmpDirectory(), the directory is first being created and then it is being deleted.
Redundant operation.
2025-07-12 06:41:21 +02:00
NBA2K1
7d13a80a11 No need to make inspector nullable
why make it nullable, set a default value and then use a non-null-assertion (!)?
2025-07-12 06:38:57 +02:00
NBA2K1
1f423dd3ca typo 2025-07-12 06:05:52 +02:00
NBA2K1
609e8196db Update storage_provider.dart
to make the requestPermission() a little shorter. It's just optics. The logic stays the same.
2025-07-12 05:35:21 +02:00
NBA2K1
5e43cf0468 Do not create Mangayomi folder inside AppDir
macOS and iOS already create a separate "Mangayomi" folder. There is no need to nest the downloads and backup folders in another "Mangayomi" folder.
2025-07-12 05:34:18 +02:00
NBA2K1
4d564b9308 Put the database into its separate folder
On Android, iOS and macOS just like how it's done on Windows and Linux.
Before the database files were in the top directory.
2025-07-12 05:30:26 +02:00
NBA2K1
ba49e4e75d Put the hive database into the app's folder
On Windows and Linux the files were created in the ~/Documents folder.
Now they will be created in ~/Documents/Mangayomi/databases instead
2025-07-12 05:28:25 +02:00
Moustapha Kodjo Amadou
47c9b79ce9
Merge pull request #515 from NBA2K1/main
Fix versioning and packaging issues for Windows and Linux builds; improve packaging consistency
2025-07-11 12:19:49 +01:00
NBA2K1
63a8ffd279 Update mangayomi.desktop 2025-07-11 07:33:21 +02:00
NBA2K1
5de99335a2 Change RPM version retrieval to use pubspec.yaml
instead of Git tag
2025-07-11 07:04:46 +02:00
NBA2K1
6275b2c519 Inject linux/mangayomi.desktop file into .deb
fastforge always generates a .desktop file with incorrect semantics.
The generated .desktop file incorrectly includes a 'Version' key, which is not part of the freedesktop.org specification.
fastforgedev/fastforge#158
2025-07-11 06:30:24 +02:00
NBA2K1
7f177052e4 Use linuxdeploy to make AppImage self-contained
linuxdeploy automatically grabs the required libraries for Mangayomi and packs them into the AppImage.
2025-07-11 06:29:27 +02:00
NBA2K1
60442f55da update install size of deb package
and add required dependencies
2025-07-11 06:28:34 +02:00
NBA2K1
05f4a194b0 Use fastforge instead of flutter_distributor
https://pub.dev/documentation/flutter_distributor/latest/

> **Important Notice**: flutter_distributor has been renamed to [fastforge](https://github.com/fastforgedev/fastforge).
    You can continue to use flutter_distributor, but we recommend migrating to fastforge for the latest features and updates.
    Please visit https://fastforge.dev for more information.
2025-07-11 06:27:54 +02:00
NBA2K1
f740bbf59d don't pass --app-version to inno_bundle
By not passing --app-version or the Flutter build flags at all, inno_bundle will read the pubspec.yaml and pass `--build-name 0.6.3 --build-number 85` down into `flutter build windows` And stamp both the EXE’s PE resource and the Inno Setup installer with that exact version.
2025-07-10 06:29:00 +02:00
NBA2K1
4ee0073de5 bash command on Windows is not valid 2025-07-10 05:44:06 +02:00
NBA2K1
45ae686abd Use linux/mangayomi.desktop file for all linux builds 2025-07-10 05:33:27 +02:00
NBA2K1
1e1f31214e Use correct version (from tag) for rpm package 2025-07-10 04:55:42 +02:00
GitHub Action
16d4e73e70 source update: v0.6.3 2025-07-09 14:10:44 +00:00
Moustapha Kodjo Amadou
7bcb21a933 v0.6.3 2025-07-09 15:00:16 +01:00
Moustapha Kodjo Amadou
debbb26dbf Refactor UChapDataPreloadExtensions to improve image byte retrieval logic 2025-07-09 14:49:42 +01:00
Moustapha Kodjo Amadou
e9bbd2e1e3 fix #505 2025-07-09 13:32:38 +01:00
Moustapha Kodjo Amadou
084f241746 Register additional bridged classes for SortState and HeaderFilter in the interpreter 2025-07-09 13:20:45 +01:00
Moustapha Kodjo Amadou
8eaeca2123 Add subtitle support for video downloads and playback 2025-07-09 13:11:04 +01:00
Moustapha Kodjo Amadou
b2fa09c214
Merge pull request #510 from NBA2K1/pagePreload-Slider
Changed the "Page preload amount" Setting to be a Slider
2025-07-08 14:01:43 +01:00
Moustapha Kodjo Amadou
21282efbaf Add nativeNames property to BaseRequest bridged class 2025-07-08 13:14:13 +01:00
Moustapha Kodjo Amadou
4e99bb9e58
Merge pull request #513 from NBA2K1/localArchive-tracker-button
Add tracker button to localArchive
2025-07-08 10:08:12 +01:00
Moustapha Kodjo Amadou
b14e198c54
Merge pull request #512 from NBA2K1/Fix-manga-delete
Fix delete "Downloaded episodes/chapters"
2025-07-08 10:07:36 +01:00
Moustapha Kodjo Amadou
b3f626fb32
Merge pull request #511 from NBA2K1/tracker-menu-theme-fix
Fix menu colors on theme change
2025-07-08 10:03:48 +01:00
Moustapha Kodjo Amadou
29b8845869
Merge pull request #509 from NBA2K1/refactor-code
Refactor code
2025-07-08 10:01:10 +01:00
NBA2K1
6788b73658 Delete whole imported manga
Delete whole imported manga when all chapters have been deleted.
+ Added a warning message and translations
2025-07-08 04:19:40 +02:00
NBA2K1
1e3e0ed179 Add tracker button to localArchive 2025-07-07 04:16:32 +02:00
NBA2K1
6a23409560 Fix delete "Downloaded episodes/chapters"
The delete function was only for imported mangas.
Now it checks if it was imported or downloaded and deletes accordingly.
2025-07-07 04:14:58 +02:00
NBA2K1
f4c040ccc4 Fix menu colors on theme change 2025-07-06 22:12:28 +02:00
NBA2K1
c7300797dc Update reader_screen.dart 2025-07-06 21:40:34 +02:00
NBA2K1
31ead933ab Use read instead of watch 2025-07-06 21:07:21 +02:00
NBA2K1
9a307c6007 remove redundant ternary
The else if condition is:
`itemType == ItemType.novel && chapter.url != null`

So the variable `headers` can never be `ref.read(headersProvider(source: manga.source!, lang: manga.lang!))` or `videoHeader`
2025-07-06 20:44:42 +02:00
NBA2K1
4d8131c725 Add some error handling 2025-07-06 20:37:02 +02:00
NBA2K1
c55c988188 Use read instead of watch 2025-07-06 20:35:51 +02:00
NBA2K1
40cd5eb081 remove == true 2025-07-06 20:05:01 +02:00
NBA2K1
43068bdd82 bulk write instead of one-by-one
reduces IO-operations.
2025-07-06 19:55:42 +02:00
NBA2K1
ce888c162e reduce code duplication 2025-07-06 18:37:35 +02:00
Moustapha Kodjo Amadou
085be60d58
Merge pull request #508 from NBA2K1/Fix-labels
Fix labels on navigation bar [based on PR #506]
2025-07-06 17:30:26 +01:00
Moustapha Kodjo Amadou
bb8b460352
Merge pull request #507 from NBA2K1/fix-read/unread
Fix "Read" and "Unread" button [based on PR #506]
2025-07-06 17:29:47 +01:00
Moustapha Kodjo Amadou
20f40f89a9
Merge pull request #506 from Schnitzel5/rework/sync-server
reworked sync server
2025-07-06 17:28:57 +01:00
NBA2K1
8aea458033 remove redundant import 2025-07-06 16:48:45 +02:00
NBA2K1
24e7bce508 clear cache when changing language
To update the navigation bar labels
2025-07-06 16:48:34 +02:00
NBA2K1
57143bca2b bulk write instead of one-by-one
reduces IO-operations.
2025-07-06 14:28:52 +02:00
NBA2K1
07941ea370 Fix "Read" and "Unread" button 2025-07-06 14:02:23 +02:00
Schnitzel5
6baecaa59b bug fixes 2025-07-06 03:31:27 +02:00