-
-
Notifications
You must be signed in to change notification settings - Fork 14
commit 83ce5a9
abduznik edited this page May 23, 2026
·
1 revision
Commit: 83ce5a9a711bfaa33b9f814c4f0417e42bc50f94
Author: abduznik
Date: 2026年05月12日
Why: Routine maintenance, dependency updates, version bumps, or tooling changes.
CHANGELOG.md | 5 +++++
README.md | 2 +-
lib/core/constants/app_constants.dart | 2 +-
lib/ui/screens/library_actions.dart | 10 +++++++---
pubspec.yaml | 2 +-
5 files changed, 15 insertions(+), 6 deletions(-)
CHANGELOG.mdREADME.mdlib/core/constants/app_constants.dartlib/ui/screens/library_actions.dartpubspec.yaml
diff --git a/CHANGELOG.md b/CHANGELOG.md index 0da1b93..63076d9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## [0.4.1] - 2026年05月12日 + +### Added +- Initial preparation for 0.4.1 updates. + ## [0.4.0] - 2026年05月04日 ### Added diff --git a/README.md b/README.md index b688ecc..953b0e8 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Freegosy is a solo passion project — built and maintained in my spare time, wi No pressure at all — the app is and will always be free. -## Current Features (v0.4.0) +## Current Features (v0.4.1) - **Native Multi-Platform Support**: Full support for **macOS** (ARM64/Intel), **Windows**, and **Linux** (including **Steam Deck/EmuDeck** and **RetroDECK** integration). - **Enhanced Offline Mode**: Persistent metadata caching for browsing and launching your collection without a connection. diff --git a/lib/core/constants/app_constants.dart b/lib/core/constants/app_constants.dart index b6d9784..3b746ea 100644 --- a/lib/core/constants/app_constants.dart +++ b/lib/core/constants/app_constants.dart @@ -1,3 +1,3 @@ class AppConstants { - static const String version = '0.4.0'; // Unified version + static const String version = '0.4.1'; // Unified version } diff --git a/lib/ui/screens/library_actions.dart b/lib/ui/screens/library_actions.dart index e02c470..754c2d2 100644 --- a/lib/ui/screens/library_actions.dart +++ b/lib/ui/screens/library_actions.dart @@ -353,7 +353,7 @@ mixin LibraryActionsMixin<T extends ConsumerStatefulWidget> on ConsumerState<T> if (syncService != null) { final syncMode = ref.read(retroarchSyncModeProvider); - await syncService.pushSaves(game, romPath, syncMode: syncMode); + final ok = await syncService.pushSaves(game, romPath, syncMode: syncMode); // --- Safety Sandwich: post-exit backup if save changed --- try { @@ -381,7 +381,11 @@ mixin LibraryActionsMixin<T extends ConsumerStatefulWidget> on ConsumerState<T> } if (!context.mounted) return; - ErrorHandler.showSuccess(context, 'Save Synced', message: 'Saves synced'); + if (ok) { + ErrorHandler.showSuccess(context, 'Save Synced', message: 'Saves synced'); + } else { + ErrorHandler.showSuccess(context, 'Up to Date', message: 'No files to upload'); + } } catch (e) { // Silently ignore errors in auto-sync / backup } @@ -539,7 +543,7 @@ mixin LibraryActionsMixin<T extends ConsumerStatefulWidget> on ConsumerState<T> if (ok) { ErrorHandler.showSuccess(context, 'Save Synced', message: 'Saves uploaded'); } else { - ErrorHandler.show(context, ErrorHandler.parse(Exception('No saves found'), context: 'Push Saves')); + ErrorHandler.showSuccess(context, 'Up to Date', message: 'No files to upload'); } } on SaveMappingRequiredException { if (!context.mounted) return; diff --git a/pubspec.yaml b/pubspec.yaml index 3726938..3cee37c 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 0.4.0+1 +version: 0.4.1+2 environment: