scripts/appimage/readme.md
This is a community-made AppImage creation script.
There are some reported bugs with it.
To generate an AppImage yourself, feel free to look at
stable-linux.yml in the separate void-builder/ repo,
which runs a GitHub Action that builds the AppImage you see on our website.
This script automates the process of creating an AppImage for the Void Editor using Docker. It works on macOS and Linux platforms.
docker-buildx and appimagetool inside the Docker container).Install Docker:
sudo apt install docker.io
sudo pacman -S docker
sudo dnf install docker
Set Docker User Group:
Docker requires users to be part of the docker group to run Docker commands without sudo.
sudo usermod -aG docker $USER
After running this command, log out and log back in for the group changes to take effect.
Enable and Start Docker:
sudo systemctl enable docker
sudo systemctl start docker
These dependencies are installed within the Docker container (Ubuntu 20.04 base). You generally don't need to install them manually:
libfuse2libglib2.0-0libgtk-3-0libx11-xcb1libxss1libxtst6libnss3libasound2libdrm2libgbm1Clone or Download the Script:
Save the script to your system as create_appimage.sh.
Make the Script Executable:
chmod +x create_appimage.sh
Copy Required Files:
Copy the following files to the directory where the app binary is being bundled (created during the build process):
create_appimage.shvoid.desktopvoid.pngRun the Script:
./create_appimage.sh
Result:
After the script completes, it will generate an AppImage named Void-x86_64.AppImage (or similar, depending on your architecture) in the current directory.
docker buildx if missing.appimagetool Download: Downloads appimagetool inside the Docker container.Dockerfile.build for the Ubuntu-based environment.VoidApp.AppDir structure..desktop entry.void.desktop and void.png.appimagetool to generate the AppImage.Dockerfile.build.sudo or check Docker permissions.This script is provided "as is". It is free to use, modify, and distribute, but comes with no warranty.