Created
August 1, 2020 08:24
-
-
Save c02y/fae4d915414f940758b6efb46f1ca955 to your computer and use it in GitHub Desktop.
tig appimage guide
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* 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