adonthell-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[adonthell-wastesedge-commits] master 1baa0f1: UPDATED to newer AppImage


From: Kai Sterker
Subject: [adonthell-wastesedge-commits] master 1baa0f1: UPDATED to newer AppImage tools
Date: Tue, 20 Mar 2018 18:00:41 -0400 (EDT)

branch: master
commit 1baa0f1adecce2bf474168e4583c686132ef2bc9
Author: Kai Sterker <address@hidden>
Commit: Kai Sterker <address@hidden>

    UPDATED to newer AppImage tools
---
 make_linux_appimg.sh | 16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

diff --git a/make_linux_appimg.sh b/make_linux_appimg.sh
index c459813..4d2cc26 100755
--- a/make_linux_appimg.sh
+++ b/make_linux_appimg.sh
@@ -1,10 +1,15 @@
 #!/bin/sh
 
 # -- check for AppImageKit
-appimagekit=`locate -l 1 -r AppImageKit$`
-if test "x$appimagekit" = "x" ; then
+if [ -z $APPIMGTOOL ]; then
+  appimagetool=`locate -l 1 -r appimagetool-x86_64.AppImage$`
+else
+  appimagetool=$APPIMGTOOL
+fi
+
+if test "x$appimagetool" = "x" ; then
   echo "This script requires AppImageKit"
-  echo "See https://github.com/probonopd/AppImageKit/wiki/Creating-AppImages";
+  echo "See https://github.com/AppImage/AppImageKit";
   exit 1
 fi
 
@@ -73,11 +78,12 @@ EOF
 chmod 755 $prefix/bin/$appname
 
 # -- copy AppRun
-cp $appimagekit/AppRun $appdir
+wget 
"https://github.com/AppImage/AppImageKit/releases/download/continuous/AppRun-x86_64";
 -O $appdir/AppRun
+chmod a+x $appdir/AppRun
 
 # -- create app image
 version=`$APP -v`
 arch=`uname -i`
 rm Adonthell-$version-$arch.AppImage
-$appimagekit/AppImageAssistant $1 Adonthell-$version-$arch.AppImage
+$appimagetool $1 Adonthell-$version-$arch.AppImage
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]