appimagetool

command
Version: v0.0.0-...-c1fbfa7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 14, 2021 License: MIT Imports: 27 Imported by: 0

README

appimagetool

This is an experimental implementation of the AppImage command line tool, appimagetool, in Go, mainly to see what is possible. It can also do, using the deploy verb, what linuxdeployqt does.

Installation and usage

Assuming you are using a 64-bit Intel machine (amd64, also known as x86_64), you can use our pre-compiled binaries. To try it out:

wget -c https://github.com/$(wget -q https://github.com/probonopd/go-appimage/releases -O - | grep "appimagetool-.*-x86_64.AppImage" | head -n 1 | cut -d '"' -f 2)
chmod +x appimagetool-*.AppImage
./appimagetool-*.AppImage -s deploy appdir/usr/share/applications/*.desktop # Bundle EVERYTHING
# or 
./appimagetool-*.AppImage deploy appdir/usr/share/applications/*.desktop # Bundle everything expect what comes with the base system
# and
VERSION=1.0 ./appimagetool-*.AppImage ./Some.AppDir # turn AppDir into AppImage

https://github.com/probonopd/go-appimage/releases/tag/continuous has builds for 32-bit Intel, 32-bit ARM (e.g., Raspberry Pi), and 64-bit ARM.

Features

Implemented

  • Creates AppImage
  • If running on GitHub, determines updateinformation, embeds updateinformation, signs, and writes zsync file
  • Simplified signing
  • Automatic upload to GitHub Releases
  • Prepare self-contained AppDirs using the deploy verb
  • Bundle GStreamer
  • Bundle Qt
  • Bundle Qml
  • Obey excludelist (unless invoked in self-contained a.k.a. "bundle everything" mode)

Envisioned

  • Bundle QtWebEngine (untested)
  • Bundle Python
  • GitLab support
  • OBS support
  • ...

Building

If for whatever reason you would like to build from source:

sudo apt-get -y install gcc 
if [ -z $GOPATH ] ; then export GOPATH=$HOME/go ; fi
go get github.com/probonopd/go-appimage/src/appimagetool 
go build -trimpath -ldflags="-s -w" github.com/probonopd/go-appimage/src/appimagetool

Documentation

Overview

Code generated by go generate; DO NOT EDIT. This file was generated by robots at 2019-12-08 09:57:22.872554855 +0100 CET m=+0.430504375 using data from https://raw.githubusercontent.com/AppImage/pkg2appimage/master/excludelist

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL