spacedrive/scripts/appimage
Vítor Vasconcellos 7aae22e83f
Fix Linux release (#2081)
* Fix Linux release
 - Pin appimage-builder to latest master
 - Add required cmp option to AppImageBuilder.yml
 - Disable intro video on Linux (it breaks onboarding for some reason)

* Auto format

* Fix typecheck
2024-02-13 18:26:19 +00:00
..
.gitignore Port AppImage build to use appimage-builder (#1785) 2024-01-22 10:52:26 +00:00
AppImageBuilder.yml Fix Linux release (#2081) 2024-02-13 18:26:19 +00:00
build_appimage.sh Fix Linux release (#2081) 2024-02-13 18:26:19 +00:00
README.md Fix Linux release (#2081) 2024-02-13 18:26:19 +00:00

AppImage build script and files

This directory contains the script and recipe to build an AppImage from a Spacedrive .deb using appimage-builder.

Instructions (Requires a Linux environment)

  • Install one of the following container runtimes:

  • Set up your development environment following the steps in the CONTRIBUTING guide

  • Build a production release of Spacedrive by invoking pnpm tauri in a terminal window inside the Spacedrive repository root

    After the build finishes you should end up with a .deb archive in target/release/bundle/deb

  • Change your current work directory to scripts/appimage

  • Execute the build_appimage.sh script inside a debian:bookworm container

    • Podman: podman run --rm -v "$(CDPATH='' cd ../.. && pwd -P):/srv" -w /srv debian:bookworm scripts/appimage/build_appimage.sh

      • You may have to run Podman with podman run --privileged if you get a permission denied error
    • Docker: docker run --rm -v "$(CDPATH='' cd ../.. && pwd -P):/srv" -w /srv debian:bookworm scripts/appimage/build_appimage.sh

      If you are running a system with selinux enforcing you will need mount the /srv volume with the Z flag to avoid Permission denied errors. more info

    After the script finishes you should end up with an .AppImage executable in target/release/bundle/appimage