Skip to content

Commit

Permalink
Cache manifest. Fixes #219.
Browse files Browse the repository at this point in the history
  • Loading branch information
cyoung committed Jan 29, 2016
1 parent 399a752 commit 442e882
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,9 @@ www:
mkdir -p /var/www/plates/js
cp web/plates/js/*.js /var/www/plates/js
cp web/index.html /var/www
cp web/stratux.appcache /var/www
# Mark the manifest with the git hash.
echo "# Stratux build: " `git log -n 1 --pretty=%H` >>/var/www/stratux.appcache

install:
cp -f gen_gdl90 /usr/bin/gen_gdl90
Expand Down
2 changes: 1 addition & 1 deletion web/index.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html>
<html manifest="stratux.appcache">

<head>
<meta charset="utf-8" />
Expand Down
52 changes: 52 additions & 0 deletions web/stratux.appcache
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
CACHE MANIFEST
/index.html
/maui/fonts/fontawesome-webfont.woff
/maui/js/mobile-angular-ui.gestures.min.js
/maui/js/mobile-angular-ui.min.js
/maui/js/angular-ui-router.min.js
/maui/js/mobile-angular-ui.core.min.js
/maui/js/angular.min.js
/maui/css/mobile-angular-ui-hover.min.css
/maui/css/mobile-angular-ui-desktop.min.css
/maui/css/mobile-angular-ui-base.min.css
/js/j3di-all.min.js
/js/addtohomescreen.min.js
/js/main.js
/plates/weather-help.html
/plates/settings.html
/plates/status-help.html
/plates/traffic-help.html
/plates/js/weather.js
/plates/js/traffic.js
/plates/js/status.js
/plates/js/settings.js
/plates/js/gps.js
/plates/js/towers.js
/plates/js/ahrs.js
/plates/js/logs.js
/plates/settings-help.html
/plates/logs.html
/plates/towers.html
/plates/gps.html
/plates/status.html
/plates/traffic.html
/plates/towers-help.html
/plates/gps-help.html
/plates/weather.html
/img/screen-320x460.png
/img/screen-1536x2008.png
/img/screen-1182x2208.png
/img/logo-apple3.png
/img/logo-apple2.png
/img/screen-1496x2048.png
/img/screen-1242x2148.png
/img/screen-640x1096.png
/img/screen-768x1004.png
/img/logo-android2.png
/img/screen-750x1294.png
/img/world.png
/img/logo-android3.png
/img/screen-748x1024.png
/img/screen-640x920.png
/css/addtohomescreen.css
/css/main.css

0 comments on commit 442e882

Please sign in to comment.