fix(appimage): various fix:
Closes
#!/bin/bash
mkdir -p {{app_name}}.AppDir
-cp -r bundle/deb/{{bundle_name}}/data/usr {{app_name}}.AppDir
-cp {{app_name}} {{app_name}}.AppDir/AppRun
+cp -r ../deb/{{bundle_name}}/data/usr {{app_name}}.AppDir
cd {{app_name}}.AppDir
-cp usr/share/icons/hicolor/256x265/apps/{{app_name}}.png {{app_name}}.png
+cp usr/bin/{{app_name}} AppRun
+cp usr/share/icons/hicolor/256x256/apps/{{app_name}}.png {{app_name}}.png
+
+cd ..
echo '[Desktop Entry]' > {{app_name}}.desktop
echo 'Version=1.0' >> {{app_name}}.desktop
@@ -20,9 +22,9 @@ echo 'Categories=X-Web;' >> {{app_name}}.desktop
cp {{app_name}}.desktop {{app_name}}.AppDir/usr/share/applications/{{app_name}}.desktop
-cd ..
-
mksquashfs {{app_name}}.AppDir {{app_name}}.squashfs -root-owned -noappend
-# cat runtime >> {{app_name}}.AppImage
+
+wget -q -O runtime https://github.com/AppImage/AppImageKit/releases/download/continuous/runtime-x86_64
+cat runtime > {{app_name}}.AppImage
cat {{app_name}}.squashfs >> {{app_name}}.AppImage
chmod a+x {{app_name}}.AppImage
