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/Station.AppDir/usr/lib/netsyms-business-station
rm -rf appimage/Station.AppDir/usr/lib/netsyms-business-station
rsync -rv "$1" appimage/Station.AppDir/usr/lib/netsyms-business-station
chmod +x appimage/Station.AppDir/AppRun
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O appimagetool
chmod +x appimagetool
./appimagetool appimage/Station.AppDir "out/station_$2.AppImage"