blokator/build-appimage.sh
2022-10-24 19:19:42 +02:00

16 lines
372 B
Bash
Executable file

# Prepare
if [ ! -f "packages/Blokator.AppDir/usr" ]
then
mkdir -p packages/Blokator.AppDir/usr/bin
fi
# Build Blokator
cargo build --release
# Copy the binary into packages/Blokator.AppDir/usr/bin/blokator
cp target/release/blokator packages/Blokator.AppDir/usr/bin/blokator
# Build the AppImage using appimagetool
ARCH=x86_64 appimagetool packages/Blokator.AppDir