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:
@@ -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!"
|
||||
|
||||
Reference in New Issue
Block a user