Skip to content

Commit

Permalink
Merge pull request #7 from thorpelawrence/desktopintegration
Browse files Browse the repository at this point in the history
Add option to integrate AppImage with desktop
  • Loading branch information
thorpelawrence authored Jun 6, 2017
2 parents 27034b6 + 9198e65 commit 2f563b0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
11 changes: 10 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,16 @@ after_success:
- chmod a+x linuxdeployqt*.AppImage
- unset QTDIR; unset QT_PLUGIN_PATH ; unset LD_LIBRARY_PATH
- ./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -bundle-non-qt-libs
- ./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -appimage
- cp ./resources/pixsrt.desktop ./appdir
- cp ./resources/pixsrt.png ./appdir
- mkdir -p ./appdir/usr/share/icons/default/256x256/apps/
- cp ./resources/Pixsrt256.png ./appdir/usr/share/icons/default/256x256/apps/Pixsrt.png
- wget -c "https://github.com/probonopd/AppImageKit/raw/master/desktopintegration" -O ./appdir/usr/bin/pixsrt.wrapper
- chmod a+x ./appdir/usr/bin/pixsrt.wrapper
- ( cd ./appdir/ ; rm AppRun ; ln -s ./usr/bin/pixsrt.wrapper AppRun )
- wget -c "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage"
- chmod a+x appimagetool-x86_64.AppImage
- ./appimagetool-x86_64.AppImage ./appdir/
- find ./appdir -executable -type f -exec ldd {} \; | grep " => /usr" | cut -d " " -f 2-3 | sort | uniq
- mv ./Pixsrt*.AppImage ./pixsrt-${TRAVIS_TAG}-${CC}-64.AppImage
- curl --upload-file ./pixsrt-${TRAVIS_TAG}-${CC}-64.AppImage https://transfer.sh/pixsrt-${TRAVIS_TAG}-${CC}-64.AppImage
Expand Down
Binary file added resources/Pixsrt256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions resources/pixsrt.desktop
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Pixsrt
Comment=Pixel sorter
Exec=pixsrt
Icon=pixsrt
Terminal=False

0 comments on commit 2f563b0

Please sign in to comment.