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
This commit is contained in:
Lorenzo Blasa
2022-05-17 04:20:30 -07:00
committed by Facebook GitHub Bot
parent 2f30c51e14
commit d4e623c376

View File

@@ -188,7 +188,7 @@ export function initializeElectron(
return getLocalIconUrl(
icon,
url,
flipperServerConfig.paths.appPath,
flipperServerConfig.paths.staticPath,
!flipperServerConfig.environmentInfo.isProduction,
);
},