mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-05-09 17:44:26 +02:00
feat: root status in export patch log (#1407)
Co-authored-by: Ushie <ushiekane@gmail.com>
This commit is contained in:
parent
4a5510acb2
commit
ad6b164d51
@ -139,7 +139,6 @@ class InstallerViewModel extends BaseViewModel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Future<void> runPatcher() async {
|
Future<void> runPatcher() async {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await _patcherAPI.runPatcher(
|
await _patcherAPI.runPatcher(
|
||||||
_app.packageName,
|
_app.packageName,
|
||||||
@ -191,6 +190,7 @@ class InstallerViewModel extends BaseViewModel {
|
|||||||
'Model: ${info['model']}',
|
'Model: ${info['model']}',
|
||||||
'Android version: ${info['androidVersion']}',
|
'Android version: ${info['androidVersion']}',
|
||||||
'Supported architectures: ${info['supportedArch'].join(", ")}',
|
'Supported architectures: ${info['supportedArch'].join(", ")}',
|
||||||
|
'Root permissions: ${isRooted ? 'Yes' : 'No'}',
|
||||||
|
|
||||||
'\n- Patch Info',
|
'\n- Patch Info',
|
||||||
'App: ${_app.packageName} v${_app.version}',
|
'App: ${_app.packageName} v${_app.version}',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user