hedge-dev / hedge-dev/UnleashedRecomp
Allow installing desktop files while installed as native
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 5.1k
- Forks
- 421
- PR merge metrics
- No merged PRs in 30d
Description
Plans had been made that we should release a build without flatpak's sandbox. Currently doing this will work fine for just playing the game, but for modding, this will become an issue due to the lack of a URI scheme being installed to the system.
The solution should be as simple as following these steps:
- Embed or generate a .desktop
- Can use what we have for flatpak as a base
- Change Exec to the location of the game's executable binary.
- Change Icon to
UnleashedRecomp
- Install desktop file and icon
- Desktop files can be installed/linked to
~/.local/share/applicationswith a name likeUnleashedRecomp.desktop - Icons files can be installed/linked to
.local/share/icons/hicolor/128x128/appswith a name likeUnleashedRecomp.png(Make sure to create the folder if missing) - Update applications cache by running
update-desktop-database ~/.local/share/applications
- Desktop files can be installed/linked to
- Register the mime type
- Just run
xdg-mime default UnleashedRecomp.desktop x-scheme-handler/unleashedrecomp
- Just run
For most Linux systems this should work without any issues.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing Flatpak .desktop definition and the native installation entry point. Use the Flatpak file as the base, adjust the executable and icon references, and verify that the desktop file, icon, cache update, and unleashedrecomp URI handler are installed under the stated Linux paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux
- Domain
- desktop, operating-systems
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100