Skip to content

biglybt.desktop without placeholders#3657

Open
sergiomb2 wants to merge 1 commit intoBiglySoftware:masterfrom
sergiomb2:desktop_file
Open

biglybt.desktop without placeholders#3657
sergiomb2 wants to merge 1 commit intoBiglySoftware:masterfrom
sergiomb2:desktop_file

Conversation

@sergiomb2
Copy link
Contributor

@sergiomb2 sergiomb2 commented Dec 30, 2025

Essentially equivalent to running
sed -i -e '/^#!/d' -e 's|${installer:dir.main}/||' -e 's|.svg||' -e 's/Application;//g' biglybt.desktop,
plus adding Keywords=file transfer;P2P;

@TuxPaper
Copy link
Member

The insertion variables are replaced in the installation process. If you open up the .desktop file installed, it should have the full real path instead. Feels safer to keep it this way in case people move the .desktop file to another folder.

@sergiomb2
Copy link
Contributor Author

sergiomb2 commented Jan 5, 2026

The insertion variables are replaced in the installation process. If you open up the .desktop file installed, it should have the full real path instead. Feels safer to keep it this way in case people move the .desktop file to another folder.

But how is the replacement done, and where is it performed?

@sergiomb2
Copy link
Contributor Author

sergiomb2 commented Jan 9, 2026

have we any correct way to replace the placeholders ? I just notice that usually executable and icon aren't in the same directory and the placeholders are always installer:dir:main
Exec=${installer:dir.main}/biglybt %U
Icon=${installer:dir.main}/biglybt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants