Check existing issues
Bug description
In this PR, this copilot review seems legit. After the icon is successfully resolved from icon theme, icon local variable is not updated and the subsequent check still fails.
Steps to reproduce
- Create snapcraft.yaml that produces
$CRAFT_PRIME/usr/share/icons/hicolor/256x256/app/example.png
- Create a desktop file with
Icon=example
- Run
snapcraft pack
- Observe that it incorrectly prints
Icon 'example' specified in desktop file 'usr/share/applications/example.desktop' not found in prime directory.
Check existing issues
Bug description
In this PR, this copilot review seems legit. After the icon is successfully resolved from icon theme,
iconlocal variable is not updated and the subsequent check still fails.Steps to reproduce
$CRAFT_PRIME/usr/share/icons/hicolor/256x256/app/example.pngIcon=examplesnapcraft pack