From 4c403ab32ce720309ae7edeb1305506e21a1673b Mon Sep 17 00:00:00 2001 From: Jason Dreyzehner Date: Tue, 18 Oct 2016 19:33:42 -0400 Subject: [PATCH] fix(desktop): pre-compile the app title to avoid displaying handlebars Fixes #566 --- .gitignore | 1 + app-template/apply.js | 1 + {www => app-template}/index.html | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) rename {www => app-template}/index.html (91%) diff --git a/.gitignore b/.gitignore index dc101e2e9..a91c52300 100644 --- a/.gitignore +++ b/.gitignore @@ -106,6 +106,7 @@ src/js/appConfig.js src/js/externalServices.js chrome-app/manifest.json www/img/app +www/index.html cordova/android/res/ diff --git a/app-template/apply.js b/app-template/apply.js index f641e72cd..4f20f052f 100755 --- a/app-template/apply.js +++ b/app-template/apply.js @@ -6,6 +6,7 @@ var templates = { 'package.json': '/', + 'index.html': 'www/', 'Makefile': 'cordova/', 'ProjectMakefile': 'cordova/', 'config-template.xml': '/', diff --git a/www/index.html b/app-template/index.html similarity index 91% rename from www/index.html rename to app-template/index.html index ef073575e..1141f5463 100644 --- a/www/index.html +++ b/app-template/index.html @@ -7,7 +7,7 @@ - {{appConfig.nameCase}} - {{appConfig.description}} + *USERVISIBLENAME* - *PURPOSELINE*