diff --git a/app/.flutter-plugins b/app/.flutter-plugins deleted file mode 100644 index f22c86d..0000000 --- a/app/.flutter-plugins +++ /dev/null @@ -1,12 +0,0 @@ -# This is a generated file; do not edit or check into version control. -path_provider=/home/thezupzup/.pub-cache/hosted/pub.dev/path_provider-2.1.5/ -path_provider_android=/home/thezupzup/.pub-cache/hosted/pub.dev/path_provider_android-2.2.10/ -path_provider_foundation=/home/thezupzup/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.1/ -path_provider_linux=/home/thezupzup/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/ -path_provider_windows=/home/thezupzup/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/ -shared_preferences=/home/thezupzup/.pub-cache/hosted/pub.dev/shared_preferences-2.3.3/ -shared_preferences_android=/home/thezupzup/.pub-cache/hosted/pub.dev/shared_preferences_android-2.3.2/ -shared_preferences_foundation=/home/thezupzup/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4/ -shared_preferences_linux=/home/thezupzup/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1/ -shared_preferences_web=/home/thezupzup/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.3/ -shared_preferences_windows=/home/thezupzup/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1/ diff --git a/app/.gitignore b/app/.gitignore index 3820a95..ba6d238 100644 --- a/app/.gitignore +++ b/app/.gitignore @@ -27,6 +27,7 @@ migrate_working_dir/ **/doc/api/ **/ios/Flutter/.last_build_id .dart_tool/ +.flutter-plugins .flutter-plugins-dependencies .pub-cache/ .pub/ diff --git a/app/lib/services/app_state.dart b/app/lib/services/app_state.dart index 8e5475a..9cc13fe 100644 --- a/app/lib/services/app_state.dart +++ b/app/lib/services/app_state.dart @@ -107,6 +107,6 @@ class AppState extends ChangeNotifier { try { final result = await client.triggerSync(); return result['summary'] ?? 'Sync complete'; - } catch (e) { return 'Sync failed: \$e'; } + } catch (e) { return 'Sync failed: $e'; } } } \ No newline at end of file diff --git a/nexanote.sh b/nexanote.sh index fccc986..c5ac80d 100755 --- a/nexanote.sh +++ b/nexanote.sh @@ -42,4 +42,6 @@ else fi cd "$APP_DIR" +echo "📦 Mise à jour des dépendances Flutter..." +flutter pub get GDK_BACKEND=x11 flutter run -d linux