forked from Packaging/Station
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
472 B
Bash
11 lines
472 B
Bash
#!/bin/bash
|
|
# $1 is the binary location, $2 is the arch
|
|
mkdir out
|
|
mkdir -p appimage/NotePost.AppDir/usr/lib/notepost
|
|
rm -rf appimage/NotePost.AppDir/usr/lib/notepost
|
|
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
|
|
./appimagetool appimage/NotePost.AppDir "out/NotePost_$2.AppImage"
|