Linux: create Debian package
This commit is contained in:
3
static/linux/postinst
Normal file
3
static/linux/postinst
Normal 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
2
static/linux/postrm
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
rm /usr/bin/webtorrent-desktop
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user