mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-06-12 04:37:37 +02:00
fix: One more fix to root installations management
This commit is contained in:
@ -105,15 +105,10 @@ class InstallerViewModel extends BaseViewModel {
|
||||
update(0.0, 'Initializing...', 'Initializing installer');
|
||||
if (_patches.isNotEmpty) {
|
||||
try {
|
||||
update(0.1, '', 'Copying original apk');
|
||||
String inputFilePath = await _patcherAPI.copyOriginalApk(
|
||||
_app.packageName,
|
||||
_app.apkFilePath,
|
||||
);
|
||||
update(0.1, '', 'Creating working directory');
|
||||
await _patcherAPI.runPatcher(
|
||||
_app.packageName,
|
||||
inputFilePath,
|
||||
_app.apkFilePath,
|
||||
_patches,
|
||||
);
|
||||
} catch (e) {
|
||||
|
Reference in New Issue
Block a user