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
600 B
Bash
12 lines
600 B
Bash
5 years ago
|
#!/bin/bash
|
||
|
# $1 is the binary location, $2 is the arch
|
||
|
mkdir out
|
||
|
mkdir -p appimage/HelpingHelena.AppDir/usr/lib/helpinghelena-desktop
|
||
|
rm -rf appimage/HelpingHelena.AppDir/usr/lib/helpinghelena-desktop
|
||
|
mv "$1com.netsyms.HelpingHelena" "$1helpinghelena-desktop"
|
||
|
rsync -rv "$1" appimage/HelpingHelena.AppDir/usr/lib/helpinghelena-desktop
|
||
|
chmod +x appimage/HelpingHelena.AppDir/AppRun
|
||
|
wget https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage -O appimagetool
|
||
|
chmod +x appimagetool
|
||
|
./appimagetool appimage/HelpingHelena.AppDir "out/HelpingHelena_$2.AppImage"
|