From f5ce9409555a54cb0bebb17ba103214c7a7e3c1f Mon Sep 17 00:00:00 2001 From: Romain Vigier Date: Mon, 16 May 2022 15:18:46 +0200 Subject: [PATCH] Utils: Enumerate children with standard attributes --- src/utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.js b/src/utils.js index a72111c..2d0d476 100644 --- a/src/utils.js +++ b/src/utils.js @@ -48,7 +48,7 @@ function getInstalledResources(type) { const resourcesDir = Gio.File.new_for_path(resourcesDirPath); if (resourcesDir.query_file_type(Gio.FileQueryInfoFlags.NONE, null) !== Gio.FileType.DIRECTORY) return; - const resourcesDirsEnumerator = resourcesDir.enumerate_children('', Gio.FileQueryInfoFlags.NONE, null); + const resourcesDirsEnumerator = resourcesDir.enumerate_children('standard::', Gio.FileQueryInfoFlags.NONE, null); while (true) { let resourceDirInfo = resourcesDirsEnumerator.next_file(null); if (resourceDirInfo === null)