feat: append patch version to the APK name while sharing/exporting (#1547)

This commit is contained in:
Dhruvan Bhalara 2023-12-05 09:19:16 +05:30 committed by aAbed
parent eb6e75b156
commit 7df1ae7ed8
No known key found for this signature in database
GPG Key ID: F26611AB3F996827

View File

@ -269,8 +269,9 @@ void sharePatchedFile(String appName, String version) {
}
String _getFileName(String appName, String version) {
final String patchVersion = _managerAPI.patchesVersion!;
final String prefix = appName.toLowerCase().replaceAll(' ', '-');
final String newName = '$prefix-revanced_v$version.apk';
final String newName = '$prefix-revanced_v$version-patches_$patchVersion.apk';
return newName;
}