NotePostApp/scripts/appimage_build.sh

12 lines
516 B
Bash
Raw Permalink Normal View History

#!/bin/bash
# $1 is the binary location, $2 is the arch
mkdir out
2019-01-09 01:16:02 -07:00
mkdir -p appimage/NotePost.AppDir/usr/lib/notepost
rm -rf appimage/NotePost.AppDir/usr/lib/notepost
2019-01-09 01:50:29 -07:00
mv "$1com.netsyms.NotePostApp" "$1notepost"
2019-01-09 01:16:02 -07:00
rsync -rv "$1" appimage/NotePost.AppDir/usr/lib/notepost
chmod +x appimage/NotePost.AppDir/AppRun
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O appimagetool
chmod +x appimagetool
2019-01-09 01:16:02 -07:00
./appimagetool appimage/NotePost.AppDir "out/NotePost_$2.AppImage"