biglybt.desktop without placeholders#3657
biglybt.desktop without placeholders#3657sergiomb2 wants to merge 1 commit intoBiglySoftware:masterfrom
Conversation
|
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? |
|
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 |
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;