ExpressLRS / ExpressLRS-Configurator

Cross platform configuration & build tool for the ExpressLRS radio link
GNU General Public License v3.0
597 stars 131 forks source link

Add Appimage to the build artifacts #587

Closed flux242 closed 4 months ago

flux242 commented 9 months ago

this recipe expresslrs-configurator.yml file (based on focal) will create an Appimage from a expresslrs-configurator_1.6.1_amd64.deb package:

# You can easily make your own using this recipe like this on a Debian/Ubuntu system:
# wget -c "https://github.com/AppImage/AppImages/raw/master/pkg2appimage"
# bash -ex pkg2appimage expresslrs-configurator.yml

app: expresslrs-configurator

ingredients:
  dist: focal
  sources: 
    - deb http://us.archive.ubuntu.com/ubuntu/ focal main universe
  debs:
    - "$(pwd)"/expresslrs-configurator_1.6.1_amd64.deb
script:
  - cat > ./AppRun <<\HEREDOC
  - #!/bin/sh
  - HERE=$(dirname $(readlink -f "${0}"))
  - export LD_LIBRARY_PATH="${HERE}"/usr/lib:$PATH
  - exec ${HERE}/opt/ExpressLRS\ Configurator/expresslrs-configurator "$@"
  - HEREDOC
  - chmod a+x ./AppRun
  - cp ./usr/share/icons/hicolor/48x48/apps/expresslrs-configurator.png expresslrs-configurator.png
jurgelenas commented 4 months ago

If you are willing to integrate AppImage through the electron-builder that we use to build ExpressLRS Configurator (https://www.electron.build/configuration/appimage.html) I would be happy to merge it.

In the meantime I am closing the issue.