diff --git a/android/app/build.gradle b/android/app/build.gradle index 0b83c0af7e..36f9fb2942 100644 --- a/android/app/build.gradle +++ b/android/app/build.gradle @@ -99,7 +99,7 @@ dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" // ReVanced - implementation "app.revanced:revanced-patcher:19.0.0" + implementation "app.revanced:revanced-patcher:19.1.0" // Signing & aligning implementation("org.bouncycastle:bcpkix-jdk15on:1.70") diff --git a/lib/services/patcher_api.dart b/lib/services/patcher_api.dart index 4266a88032..65f5ecc095 100644 --- a/lib/services/patcher_api.dart +++ b/lib/services/patcher_api.dart @@ -237,9 +237,10 @@ void exportPatchedFile(String appName, String version) { if (outFile != null) { final String newName = _getFileName(appName, version); FlutterFileDialog.saveFile( - params: SaveFileDialogParams( + params: SaveFileDialogParams( sourceFilePath: outFile!.path, fileName: newName, + mimeTypesFilter: ['application/vnd.android.package-archive'], ), ); } @@ -287,7 +288,7 @@ Future exportPatcherLog(String logs) async { final File log = File('${logDir.path}/$fileName'); log.writeAsStringSync(logs); FlutterFileDialog.saveFile( - params: SaveFileDialogParams( + params:SaveFileDialogParams( sourceFilePath: log.path, fileName: fileName, ), diff --git a/lib/ui/views/settings/settings_viewmodel.dart b/lib/ui/views/settings/settings_viewmodel.dart index d1dbfd7eb0..e51b13827c 100644 --- a/lib/ui/views/settings/settings_viewmodel.dart +++ b/lib/ui/views/settings/settings_viewmodel.dart @@ -210,7 +210,7 @@ class SettingsViewModel extends BaseViewModel { final String dateTime = DateTime.now().toString().replaceAll(' ', '_').split('.').first; await FlutterFileDialog.saveFile( - params: SaveFileDialogParams( + params: SaveFileDialogParams( sourceFilePath: outFile.path, fileName: 'selected_patches_$dateTime.json', ), @@ -261,7 +261,7 @@ class SettingsViewModel extends BaseViewModel { final String dateTime = DateTime.now().toString().replaceAll(' ', '_').split('.').first; await FlutterFileDialog.saveFile( - params: SaveFileDialogParams( + params: SaveFileDialogParams( sourceFilePath: outFile.path, fileName: 'keystore_$dateTime.keystore', ), diff --git a/pubspec.yaml b/pubspec.yaml index b10e340091..b3f701d630 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -4,7 +4,7 @@ homepage: https://github.com/revanced/revanced-manager publish_to: 'none' -version: 1.17.0+101700000 +version: 1.17.1+101700100 environment: sdk: '>=3.0.0 <4.0.0'