NickelBridge/scripts/appimage_build.sh

11 lines
388 B
Bash
Raw Normal View History

2018-06-09 15:41:01 -06:00
#!/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
./appimagetool tmp/NickelBridge.AppDir "out/nickelbridge_1.0.0_$2.AppImage"