mirror of
https://github.com/revanced/revanced-manager
synced 2024-05-14 13:56:57 +02:00
fix: prevent unsupported operation
exception (#1018)
This commit is contained in:
parent
c5b0621323
commit
a879ac30fb
@ -73,7 +73,7 @@ class RootAPI {
|
|||||||
}
|
}
|
||||||
|
|
||||||
Future<List<String>> getInstalledApps() async {
|
Future<List<String>> getInstalledApps() async {
|
||||||
final List<String> apps = List.empty();
|
final List<String> apps = List.empty(growable: true);
|
||||||
try {
|
try {
|
||||||
String? res = await Root.exec(
|
String? res = await Root.exec(
|
||||||
cmd: 'ls "$_revancedDirPath"',
|
cmd: 'ls "$_revancedDirPath"',
|
||||||
|
Loading…
Reference in New Issue
Block a user