Skip to content
This repository was archived by the owner on Jan 7, 2022. It is now read-only.

Commit 9d1f2e3

Browse files
author
Norbert Bodziony
committed
Custom protocol support for linux
1 parent 3257ee7 commit 9d1f2e3

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,11 @@ Ubuntu16 ```npm run distUbuntu16```
4848
Ubuntu18 ```npm run distUbuntu18```
4949

5050
The built installers can then be found in the `dist` folder.
51+
## Custom protocol support (Only Linux)
52+
53+
To be able to take advantage of zbay protocol on linux (Other platforms work by default) you need to create Desktop Entry.
54+
You can find template file in repository ```zbay.desktop```. You need to change ```Exec=/path/to/zbay/Zbay-version.AppImage``` inside ```zbay.desktop``` to match your path to Zbay AppImage file.
55+
Then place file inside ```~/.local/share/applications/``` folder and run command to register new entry ```xdg-mime default zbay.desktop x-scheme-handler/zbay```
5156

5257
## Managing keys
5358

zbay.desktop

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[Desktop Entry]
2+
Name=Zbay
3+
Exec=/path/to/zbay/Zbay-version.AppImage %U
4+
Terminal=false
5+
Type=Application
6+
Icon=zbay
7+
StartupWMClass=Zbay
8+
Comment=Distributed goods and bulletin board
9+
MimeType=x-scheme-handler/zbay;
10+
Categories=Network;Chat;

0 commit comments

Comments
 (0)