From 477db6bc8fb50c663ca0cbf10ec5fb340ca3e173 Mon Sep 17 00:00:00 2001 From: crschnick Date: Sun, 26 Jan 2025 12:00:01 +0000 Subject: [PATCH] [stage] --- app/src/main/java/io/xpipe/app/icon/SystemIconCache.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/java/io/xpipe/app/icon/SystemIconCache.java b/app/src/main/java/io/xpipe/app/icon/SystemIconCache.java index 448158e07..4c1b416cb 100644 --- a/app/src/main/java/io/xpipe/app/icon/SystemIconCache.java +++ b/app/src/main/java/io/xpipe/app/icon/SystemIconCache.java @@ -30,6 +30,10 @@ public class SystemIconCache { } public static void refreshBuilt() throws IOException { + if (!Files.exists(DIRECTORY)) { + return; + } + try (var stream = Files.walk(DIRECTORY)) { built = stream.findAny().isPresent(); }