remove PATH manipulation from .desktop file (#8309)
* remove PATH manipulation from .desktop file * Add note for user-local intallations
This commit is contained in:
@@ -1,9 +1,10 @@
|
|||||||
# If you want Electrum to appear in a Linux app launcher ("start menu"), install this by doing:
|
# If you want Electrum to appear in a Linux app launcher ("start menu"), install this by doing:
|
||||||
# sudo desktop-file-install electrum.desktop
|
# sudo desktop-file-install electrum.desktop
|
||||||
|
# Note: This assumes $HOME/.local/bin is in your $PATH
|
||||||
|
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Comment=Lightweight Bitcoin Client
|
Comment=Lightweight Bitcoin Client
|
||||||
Exec=sh -c "PATH=\"\\$HOME/.local/bin:\\$PATH\"; electrum %u"
|
Exec=electrum %u
|
||||||
GenericName[en_US]=Bitcoin Wallet
|
GenericName[en_US]=Bitcoin Wallet
|
||||||
GenericName=Bitcoin Wallet
|
GenericName=Bitcoin Wallet
|
||||||
Icon=electrum
|
Icon=electrum
|
||||||
@@ -18,5 +19,5 @@ MimeType=x-scheme-handler/bitcoin;x-scheme-handler/lightning;
|
|||||||
Actions=Testnet;
|
Actions=Testnet;
|
||||||
|
|
||||||
[Desktop Action Testnet]
|
[Desktop Action Testnet]
|
||||||
Exec=sh -c "PATH=\"\\$HOME/.local/bin:\\$PATH\"; electrum --testnet %u"
|
Exec=electrum --testnet %u
|
||||||
Name=Testnet mode
|
Name=Testnet mode
|
||||||
|
|||||||
Reference in New Issue
Block a user