Skip to content

Use amd64 instead of aarch64 on Linux#209

Merged
vaibhavpandeyvpz merged 6 commits into
masterfrom
VPZ/fix-linux-jdk-url
Dec 7, 2025
Merged

Use amd64 instead of aarch64 on Linux#209
vaibhavpandeyvpz merged 6 commits into
masterfrom
VPZ/fix-linux-jdk-url

Conversation

@vaibhavpandeyvpz
Copy link
Copy Markdown
Owner

@vaibhavpandeyvpz vaibhavpandeyvpz commented Dec 7, 2025

Description

This PR improves Linux desktop integration and fixes several issues related to environment setup and user experience.

Changes

Linux Environment Fixes

  • Fix JAVA_HOME not being set on Linux: Ensures JAVA_HOME environment variable is properly set when executing batch files on Windows, and extends this fix to Linux systems to ensure Java-based tools (Apktool, JADX, etc.) can find Java correctly.

User Interface Improvements

  • Show open project name in window title: The main window title now displays the currently open project name, making it easier to identify which project is active when multiple instances or projects are open.

Linux Desktop Integration

  • Create desktop entry on Linux: Automatically creates a .desktop file on first launch (with user permission) to enable proper integration with Linux desktop environments, allowing the application to appear in application menus and docks.
  • Update desktop database async: Desktop database updates are now performed asynchronously using a worker thread to prevent UI blocking during the update process.

Window Management

  • Set window icon from main window: Ensures the window icon is properly set from the main window, improving visual consistency across different desktop environments.

Technical Details

  • Desktop file creation includes proper icon theme integration (hicolor theme structure)
  • Icon cache is automatically updated after icon installation
  • Desktop file includes proper StartupWMClass for correct window matching
  • All desktop integration operations are non-blocking to maintain UI responsiveness

Testing

  • Tested on Ubuntu with GNOME desktop environment
  • Verified desktop entry appears in application menu
  • Confirmed icon displays correctly in dock and application menu
  • Tested with multiple projects to verify window title updates

@vaibhavpandeyvpz vaibhavpandeyvpz merged commit 3aa12f5 into master Dec 7, 2025
3 checks passed
@vaibhavpandeyvpz vaibhavpandeyvpz deleted the VPZ/fix-linux-jdk-url branch December 7, 2025 06:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant