Required files for packaging NickelBridge installers.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

10 lines
514 B

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