{
"name": "Tricorder",
"description": "Display data from your device sensors in Star Trek style.",
+ "version": "1.DVER",
"launch_path": "/index.html",
"permissions": {
"geolocation": {
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/