Naokim
Naokim•2mo ago

Settings an icon with deno --compile

Hello there 👋 , I'm trying to build an exe and specify an icon for it, with Deno 2, using deno compile --icon LogoAstro.ico main.ts as mentioned in the documentation (https://docs.deno.com/runtime/reference/cli/compiler/). And it is just totally ignored : the build succeed but it use the default window application icon. The file is a fairly light .ico image. So, is there some hidden specification for it ? Or is it a known issue ?
No description
No description
No description
4 Replies
bartlomieju
bartlomieju•2mo ago
@divy please take a look
divy
divy•2mo ago
I wasn’t able to reproduce on windows but I think I know what might be happening @Naokim can you open an issue if there isn’t one already?
Naokim
NaokimOP•2mo ago
Sure, I'll do it soon
Naokim
NaokimOP•2mo ago
GitHub
Deno compile --icon not taken into account · Issue #26400 · denolan...
Version: Deno 2.0.0 Platform: Windows When specifying an icon (.ico 128x128px) for the exe using : deno compile --icon LogoName.ico main.ts => The build succeed but the default windows applicati...