From a879ac30fbf6f367d829b897dd3cd6ab27d68681 Mon Sep 17 00:00:00 2001 From: ponces Date: Fri, 14 Jul 2023 11:55:04 +0100 Subject: [PATCH] fix: prevent `unsupported operation` exception (#1018) --- lib/services/root_api.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/services/root_api.dart b/lib/services/root_api.dart index af1276c4..1a77c644 100644 --- a/lib/services/root_api.dart +++ b/lib/services/root_api.dart @@ -73,7 +73,7 @@ class RootAPI { } Future> getInstalledApps() async { - final List apps = List.empty(); + final List apps = List.empty(growable: true); try { String? res = await Root.exec( cmd: 'ls "$_revancedDirPath"',