install Desktop file for linux #223

Manually merged
sarah merged 1 commits from :linux-install into master 2019-09-25 21:02:55 +00:00
3 changed files with 20 additions and 0 deletions

10
linux/cwtch.desktop Normal file
View File

@ -0,0 +1,10 @@
[Desktop Entry]
Name=Cwtch
Comment=Metadata Resistant Instant Messaging
Exec=~/.local/bin/cwtch
Icon=~/.local/share/icons/cwtch.png
StartupNotify=true
Type=Application
Keywords=Internet;IM;Instant Messaging;Messaging;Chat
Terminal=false
Categories=Network;InstantMessaging;

BIN
linux/cwtch.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

10
linux/install.sh Executable file
View File

@ -0,0 +1,10 @@
#!/bin/sh
mkdir -p ~/.local/bin
cp ui ~/.local/bin/cwtch
mkdir -p ~/.local/share/icons
cp cwtch.png ~/.local/share/icons
mkdir -p ~/.local/share/applications
sed "s|~|$HOME|" cwtch.desktop > $HOME/.local/share/applications/cwtch.desktop