mirror of
https://github.com/ReVanced/revanced-manager.git
synced 2026-01-25 03:51:02 +00: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