You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by an...@apache.org on 2016/02/01 10:07:10 UTC
cordova-windows git commit: CB-10487 WindowsStoreIdentityName should
be lowercased in Application.StartPage
Repository: cordova-windows
Updated Branches:
refs/heads/master e1056e185 -> 8e1aa3a02
CB-10487 WindowsStoreIdentityName should be lowercased in Application.StartPage
Project: http://git-wip-us.apache.org/repos/asf/cordova-windows/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-windows/commit/8e1aa3a0
Tree: http://git-wip-us.apache.org/repos/asf/cordova-windows/tree/8e1aa3a0
Diff: http://git-wip-us.apache.org/repos/asf/cordova-windows/diff/8e1aa3a0
Branch: refs/heads/master
Commit: 8e1aa3a023e0b3b4a425c3b865c4d6fa549a578f
Parents: e1056e1
Author: daserge <v-...@microsoft.com>
Authored: Sat Jan 30 11:29:08 2016 +0300
Committer: daserge <v-...@microsoft.com>
Committed: Sat Jan 30 11:29:08 2016 +0300
----------------------------------------------------------------------
spec/unit/Prepare.Win10.spec.js | 2 +-
template/cordova/lib/prepare.js | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/8e1aa3a0/spec/unit/Prepare.Win10.spec.js
----------------------------------------------------------------------
diff --git a/spec/unit/Prepare.Win10.spec.js b/spec/unit/Prepare.Win10.spec.js
index b992332..98b75c6 100644
--- a/spec/unit/Prepare.Win10.spec.js
+++ b/spec/unit/Prepare.Win10.spec.js
@@ -124,7 +124,7 @@ describe('Windows 10 project', function() {
// Workaround to avoid WWAHost.exe bug: https://issues.apache.org/jira/browse/CB-10446
var isAppxWebStartupUri = app.attrib.StartPage === 'ms-appx-web:///www/index.html' ||
- app.attrib.StartPage === 'ms-appx-web://' + mockConfig.config.packageName() + '/www/index.html';
+ app.attrib.StartPage === 'ms-appx-web://' + mockConfig.config.packageName().toLowerCase() + '/www/index.html';
expect(isAppxWebStartupUri).toBe(true);
});
http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/8e1aa3a0/template/cordova/lib/prepare.js
----------------------------------------------------------------------
diff --git a/template/cordova/lib/prepare.js b/template/cordova/lib/prepare.js
index 1b421a0..699e379 100644
--- a/template/cordova/lib/prepare.js
+++ b/template/cordova/lib/prepare.js
@@ -218,7 +218,7 @@ function applyStartPage(config, manifest, targetingWin10) {
else if (uriPrefix.toLowerCase().substring(0, 7) === 'ms-appx') {
var pkgName = config.getPreference('WindowsStoreIdentityName') || config.packageName();
// Workaround to avoid WWAHost.exe bug: https://issues.apache.org/jira/browse/CB-10446
- uriPrefix += pkgName + '/'; // add Identity.Name
+ uriPrefix += pkgName.toLowerCase() + '/'; // add Identity.Name
}
manifest.getApplication().setStartPage(uriPrefix + startPagePrefix + startPage);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org