mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-06-12 04:37:37 +02:00
feat: working resource patching
This commit is contained in:
@ -89,7 +89,7 @@ class HomeViewModel extends BaseViewModel {
|
||||
toastLength: Toast.LENGTH_LONG,
|
||||
gravity: ToastGravity.CENTER,
|
||||
);
|
||||
File? managerApk = await _managerAPI.downloadManager();
|
||||
File? managerApk = await _managerAPI.downloadManager('.apk');
|
||||
if (managerApk != null) {
|
||||
flutterLocalNotificationsPlugin.show(
|
||||
0,
|
||||
|
@ -111,7 +111,7 @@ class InstallerViewModel extends BaseViewModel {
|
||||
'com.google.android.apps.youtube.music') {
|
||||
resourcePatching = true;
|
||||
}
|
||||
await _patcherAPI.initPatcher(mergeIntegrations);
|
||||
await _patcherAPI.mergeIntegrations(mergeIntegrations);
|
||||
await _patcherAPI.runPatcher(
|
||||
apkFilePath,
|
||||
_patches,
|
||||
|
Reference in New Issue
Block a user