install Desktop file for linux
the build was successful 詳情

This commit is contained in:
Dan Ballard 2019-09-25 13:57:43 -07:00
父節點 3a744197b8
當前提交 db817dbed2
共有 3 個檔案被更改,包括 20 行新增0 行删除

10
linux/cwtch.desktop Normal 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;

二進制
linux/cwtch.png Normal file

未顯示二進位檔案。

之後

寬度:  |  高度:  |  大小: 3.9 KiB

10
linux/install.sh Executable 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