diff --git a/assets/images/icon.png b/assets/images/icon.png new file mode 100644 index 0000000..4f97e41 Binary files /dev/null and b/assets/images/icon.png differ diff --git a/lib/services/download.dart b/lib/services/download.dart index f21e8e3..62bf382 100644 --- a/lib/services/download.dart +++ b/lib/services/download.dart @@ -136,6 +136,10 @@ class DLServices { debugPrint('Error: $error'); FileLogger().e('Error: $error'); } + if (stackTrace != null) { + debugPrint('Stacktrace: $stackTrace'); + FileLogger().e('Stacktrace: $stackTrace'); + } if (error.map) { error.map((e) { debugPrint('Analyse result: $e'); diff --git a/macos/Flutter/GeneratedPluginRegistrant.swift b/macos/Flutter/GeneratedPluginRegistrant.swift index a7ec21d..dd24611 100644 --- a/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/macos/Flutter/GeneratedPluginRegistrant.swift @@ -7,6 +7,7 @@ import Foundation import device_info_plus import downloadsfolder +import ffmpeg_kit_flutter import flutter_localization import package_info_plus import path_provider_foundation @@ -18,6 +19,7 @@ import window_manager func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { DeviceInfoPlusMacosPlugin.register(with: registry.registrar(forPlugin: "DeviceInfoPlusMacosPlugin")) DownloadsfolderPlugin.register(with: registry.registrar(forPlugin: "DownloadsfolderPlugin")) + FFmpegKitFlutterPlugin.register(with: registry.registrar(forPlugin: "FFmpegKitFlutterPlugin")) FlutterLocalizationPlugin.register(with: registry.registrar(forPlugin: "FlutterLocalizationPlugin")) FPPPackageInfoPlusPlugin.register(with: registry.registrar(forPlugin: "FPPPackageInfoPlusPlugin")) PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) diff --git a/pubspec.lock b/pubspec.lock index 8226350..a92456a 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -185,6 +185,22 @@ packages: url: "https://pub.dev" source: hosted version: "2.1.2" + ffmpeg_kit_flutter: + dependency: "direct main" + description: + name: ffmpeg_kit_flutter + sha256: "843aae41823ca94a0988d975b4b6cdc6948744b9b7e2707d81a3a9cd237b0100" + url: "https://pub.dev" + source: hosted + version: "6.0.3" + ffmpeg_kit_flutter_platform_interface: + dependency: transitive + description: + name: ffmpeg_kit_flutter_platform_interface + sha256: addf046ae44e190ad0101b2fde2ad909a3cd08a2a109f6106d2f7048b7abedee + url: "https://pub.dev" + source: hosted + version: "0.2.1" file: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index feaaaef..e729000 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -35,6 +35,7 @@ dependencies: logger: ^2.3.0 package_info_plus: ^8.0.0 flutter_launcher_icons: ^0.13.1 + ffmpeg_kit_flutter: 6.0.3 dev_dependencies: flutter_test: