How to correctly specify app's icon for linuxdeploy

Hi all,

Having some icon trouble, as following excerpts show:

$$$$$$$$$$$$$$$$$$$$$$$$

hexi@hexi ~/Downloads $ ./linuxdeploy-x86_64.AppImage --appdir /home/hexi/Documents/fpohm/build/AppDir
linuxdeploy version 1-alpha (git commit ID 9fb2ac3), built on 2021-01-03 14:26:39 UTC

– Creating basic AppDir structure –
{create 10 directories}

– Deploying dependencies for existing files in AppDir –

– Copying files into AppDir –

– Copying files into AppDir –

– Deploying files into AppDir root directory –
WARNING: No desktop file specified, using first desktop file found: /home/hexi/Documents/fpohm/build/AppDir/usr/share/applications/RobustPureHexMeshing.desktop

{snip}

ERROR: Could not find suitable icon for Icon entry: /home/hexi/Documents/fpohm/build/AppDir/usr/share/icons/apps/

$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$

The desktop file looks like:

[Desktop Entry]
Type=Application
Name=RobustPureHexMeshing
Exec=/home/hexi/Documents/fpohm/build/RobustPureHexMeshing
Icon=/home/hexi/Documents/fpohm/build/AppDir/usr/share/icons/apps/
Comment=
Terminal=true

I’ve tried a numbers of things, all I could think of. What is the correct way?
Does the icon need to be outside the AppDir?

thnks,
W

Hello @whiffee

Please ask over at linuxdeploy because its author doesn’t read here.

Good luck!