From d4e623c376b89705e708fdc3654004904aa81639 Mon Sep 17 00:00:00 2001 From: Lorenzo Blasa Date: Tue, 17 May 2022 04:20:30 -0700 Subject: [PATCH] Use right path for icons (static) Summary: ^ I noticed this issue whilst using the Desktop app connected to flipper-server. So, Flipper Desktop should run as usual with icons being displayed. If connected to flipper-server, behaviour should be the same. https://pxl.cl/24j73 Reviewed By: passy Differential Revision: D36440268 fbshipit-source-id: 4c79852d94c8bde95c6e82e2a56bef35a337599d --- desktop/app/src/electron/initializeElectron.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/desktop/app/src/electron/initializeElectron.tsx b/desktop/app/src/electron/initializeElectron.tsx index 3fb51909c..12def57ff 100644 --- a/desktop/app/src/electron/initializeElectron.tsx +++ b/desktop/app/src/electron/initializeElectron.tsx @@ -188,7 +188,7 @@ export function initializeElectron( return getLocalIconUrl( icon, url, - flipperServerConfig.paths.appPath, + flipperServerConfig.paths.staticPath, !flipperServerConfig.environmentInfo.isProduction, ); },