From f8e4d105515a751dba04ccca79323aaab592bca4 Mon Sep 17 00:00:00 2001 From: Robert Kaiser Date: Sun, 14 Sep 2014 22:27:07 +0200 Subject: [PATCH] try adding a version into the manifest --- manifest.webapp | 1 + package/make-package.sh | 5 +++++ package/manifest.package | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/manifest.webapp b/manifest.webapp index e74b258..a0100f7 100644 --- a/manifest.webapp +++ b/manifest.webapp @@ -1,6 +1,7 @@ { "name": "Tricorder", "description": "Display data from your device sensors in Star Trek style.", + "version": "1.DVER", "launch_path": "/index.html", "permissions": { "geolocation": { diff --git a/package/make-package.sh b/package/make-package.sh index e5e8139..9f10250 100755 --- a/package/make-package.sh +++ b/package/make-package.sh @@ -10,4 +10,9 @@ zip -r -D -0 $pkgdir/package.zip * -x package/{,.}* dver=`date +%y.%j.%H` pkgsize=`wc -c $pkgdir/package.zip | awk '{ print $1 }'` sed -e "s/DVER/$dver/" -e "s/PKGSIZE/$pkgsize/" package/manifest.package > $pkgdir/manifest.package +sed -e "s/DVER/$dver/" -e "s/PKGSIZE/$pkgsize/" manifest.webapp > $pkgdir/manifest.webapp +cd $pkgdir +zip -f -0 package.zip manifest.webapp +rm manifest.webapp +cd $origdir cp package/.htaccess $pkgdir/ diff --git a/package/manifest.package b/package/manifest.package index ea99a6c..9c0a780 100644 --- a/package/manifest.package +++ b/package/manifest.package @@ -1,7 +1,7 @@ { "name": "Tricorder", "package_path": "http://tricorder.kairo.at/package.zip", - "version": "0.DVER", + "version": "1.DVER", "size": "PKGSIZE", "developer": { "name": "Robert Kaiser", -- 2.43.0