NickelBridge/scripts/appimage_build.sh
2018-06-09 15:51:24 -06:00

11 lines
396 B
Bash

#!/bin/bash
# $1 is the binary location, $2 is the arch
rm -rv tmp
mkdir tmp
mkdir out
rsync -rv appimage/ tmp
rsync -rv "$1" tmp/NickelBridge.AppDir/usr/lib/nickelbridge
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O appimagetool
chmod +x appimagetool
ARCH=$3 ./appimagetool tmp/NickelBridge.AppDir "out/nickelbridge_1.0.0_$2.AppImage"