Linux: create Debian package

This commit is contained in:
grunjol
2016-03-29 00:34:45 -03:00
parent f3771dd645
commit 27727a7a97
6 changed files with 48 additions and 12 deletions

3
static/linux/postinst Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/sh
chmod +x /opt/webtorrent-desktop/WebTorrent
ln -s /opt/webtorrent-desktop/WebTorrent /usr/bin/webtorrent-desktop

2
static/linux/postrm Normal file
View File

@@ -0,0 +1,2 @@
#!/bin/sh
rm /usr/bin/webtorrent-desktop

View File

@@ -6,7 +6,7 @@ X-GNOME-FullName=$APP_NAME
Comment=Download and share files over BitTorrent
Encoding=UTF-8
Type=Application
Icon=webtorrent
Icon=webtorrent-desktop
Terminal=false
Path=$APP_PATH
Exec=$EXEC_PATH %U