LBRY-Vault/electrum.desktop
Filip Gospodinov 24d0f3783b electrum.desktop: improve user installation
Before, the desktop entry file would only work correctly
if the user has added `$HOME/.local/bin` to his or her
PATH. The PATH variable is an implementation detail and
the user shouldn't be exposed to it.

Now, the shell is used to look for executables in the
aforementioned folder. System-wide installations remain
intact.
2018-03-23 13:05:06 +01:00

21 lines
629 B
Desktop File

# If you want electrum to appear in a linux app launcher ("start menu"), install this by doing:
# sudo desktop-file-install electrum.desktop
[Desktop Entry]
Comment=Lightweight Bitcoin Client
Exec=sh -c 'PATH="$HOME/.local/bin:$PATH" electrum %u'
GenericName[en_US]=Bitcoin Wallet
GenericName=Bitcoin Wallet
Icon=electrum
Name[en_US]=Electrum Bitcoin Wallet
Name=Electrum Bitcoin Wallet
Categories=Finance;Network;
StartupNotify=false
Terminal=false
Type=Application
MimeType=x-scheme-handler/bitcoin;
Actions=Testnet;
[Desktop Action Testnet]
Exec=sh -c 'PATH="$HOME/.local/bin:$PATH" electrum --testnet %u'
Name=Testnet mode