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.
12 lines
538 B
Bash
12 lines
538 B
Bash
#!/bin/bash
|
|
# $1 is the binary location, $2 is the arch, $3 is the version
|
|
mkdir out
|
|
mkdir -p appimage/NotePost.AppDir/usr/lib/notepost
|
|
rm -rf appimage/NotePost.AppDir/usr/lib/notepost
|
|
mv "$1com.netsyms.NotePostApp" "$1notepost"
|
|
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_$3.AppImage"
|