Add a .desktop file to the dpkg build
This commit is contained in:
parent
900e0e417e
commit
760b27162e
9
build/Twitter.desktop
Normal file
9
build/Twitter.desktop
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[Desktop Entry]
|
||||||
|
Name=Offline Twitter
|
||||||
|
Comment=Twitter client that auto-archives as you go
|
||||||
|
Exec=/usr/local/bin/twitter --default-profile --addr localhost:1400 webserver --auto-open
|
||||||
|
Icon=/usr/share/pixmaps/twitter.png
|
||||||
|
Terminal=true
|
||||||
|
Type=Application
|
||||||
|
Categories=Application;Network
|
||||||
|
StartupNotify=true
|
@ -20,9 +20,18 @@ mkdir dpkg_tmp
|
|||||||
mkdir -p dpkg_tmp/usr/local/bin
|
mkdir -p dpkg_tmp/usr/local/bin
|
||||||
cp ../cmd/tw dpkg_tmp/usr/local/bin/twitter
|
cp ../cmd/tw dpkg_tmp/usr/local/bin/twitter
|
||||||
|
|
||||||
|
# Create the Desktop files
|
||||||
|
mkdir -p dpkg_tmp/usr/share/pixmaps
|
||||||
|
cp twitter.png dpkg_tmp/usr/share/pixmaps
|
||||||
|
|
||||||
|
mkdir -p dpkg_tmp/usr/share/applications
|
||||||
|
cp Twitter.desktop dpkg_tmp/usr/share/applications/Twitter.desktop
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Create the `DEBIAN/control` file
|
# Create the `DEBIAN/control` file
|
||||||
mkdir dpkg_tmp/DEBIAN
|
mkdir dpkg_tmp/DEBIAN
|
||||||
echo "Package: offline-twitter-engine
|
echo "Package: offline-twitter
|
||||||
Version: $1
|
Version: $1
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Maintainer: alex@playfulpachyderm.com
|
Maintainer: alex@playfulpachyderm.com
|
||||||
|
BIN
build/twitter.png
Normal file
BIN
build/twitter.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 77 KiB |
Loading…
x
Reference in New Issue
Block a user