Add icon extraction and desktop entry support

- Extract icons from AppImage and install to standard locations
- Create proper desktop entry with icon reference
- Fix version handling in wrapper script
- Update update script to verify icon extraction
- Now provides complete desktop integration with proper icon display

Resolves icon display issues in desktop environments.
This commit is contained in:
thinktankmachine
2025-08-28 16:56:51 +10:00
parent f77f5b1131
commit 16a551355b
2 changed files with 89 additions and 14 deletions
+13
View File
@@ -104,6 +104,19 @@ if nix build .#cursor; then
else
print_warning "Version mismatch: expected $NEW_VERSION, got $BUILT_VERSION"
fi
# Check that icon and desktop entry were installed
if [[ -f "./result/share/pixmaps/cursor.png" ]]; then
print_success "Icon successfully extracted and installed!"
else
print_warning "Icon not found - might not display properly in desktop"
fi
if [[ -f "./result/share/applications/cursor.desktop" ]]; then
print_success "Desktop entry created!"
else
print_warning "Desktop entry not found"
fi
fi
else
print_error "Build failed!"