Skip to content

Instantly share code, notes, and snippets.

@c02y
Created August 1, 2020 08:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save c02y/fae4d915414f940758b6efb46f1ca955 to your computer and use it in GitHub Desktop.
Save c02y/fae4d915414f940758b6efb46f1ca955 to your computer and use it in GitHub Desktop.
tig appimage guide
* Create tig appimage
** get tig src file zip or using git into ~/public/tig
** compile
- make
- fix the dependencies
** generate the appimage file
- download linuxdeploy appimage and make it executable
- write the right tig.desktop and log tig.png, the logo can be empty tig.svg file
- ./linuxdeploy.appimage -e ./src/tig -i ./tig.png -d ./tig.desktop --appdir AppDir --output appimage
+ NOTE: in docker, you may unable to run appimage directly
+ if compile from git src, linuxdeploy will use git hash id for version in output appimage name
* `export VERSION=ver_num;` first for this situation
+ if linuxdeploy.appimage is unable to be run directly in some systems, use this:
* check https://github.com/AppImage/AppImageKit/wiki/FUSE, if it cannot be fixed, try the following step:
* ./linuxdeploy-x86_64.AppImage --appimage-extract-and-run -e ./src/tig -i ./tig.png -d ./tig.desktop --appdir AppDir --output appimage
- you will get tig.xx.appimage file
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment