You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2018/02/27 12:43:30 UTC
[cordova-windows] 12/26: more: remove package.phone.appxmanifest
and package.windows.appxmanifest and related
This is an automated email from the ASF dual-hosted git repository.
janpio pushed a commit to branch janpio-win10only
in repository https://gitbox.apache.org/repos/asf/cordova-windows.git
commit a92e3abf8073aef534e9d878f6287783256bce24
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Thu Feb 15 23:32:41 2018 +0100
more: remove package.phone.appxmanifest and package.windows.appxmanifest and related
---
bin/lib/create.js | 3 +--
spec/unit/ConfigChanges.spec.js | 1 -
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/bin/lib/create.js b/bin/lib/create.js
index 975fc35..221cc2d 100644
--- a/bin/lib/create.js
+++ b/bin/lib/create.js
@@ -98,8 +98,7 @@ module.exports.create = function (destinationDir, config, options) {
// replace specific values in manifests' templates
events.emit('verbose', 'Updating manifest files with project configuration.');
- [ 'package.windows.appxmanifest', 'package.phone.appxmanifest',
- 'package.windows10.appxmanifest' ]
+ [ 'package.windows10.appxmanifest' ] // TODO simplify
.forEach(function (item) {
var manifest = AppxManifest.get(path.join(projectPath, item));
if (manifest.hasPhoneIdentity) {
diff --git a/spec/unit/ConfigChanges.spec.js b/spec/unit/ConfigChanges.spec.js
index 5ad96b5..77287d5 100644
--- a/spec/unit/ConfigChanges.spec.js
+++ b/spec/unit/ConfigChanges.spec.js
@@ -30,7 +30,6 @@ var shell = require('shelljs');
var configChanges = require('../../template/cordova/lib/ConfigChanges');
var tempDir = path.join(os.tmpdir(), 'windows');
-var WINDOWS_MANIFEST = 'package.windows.appxmanifest';
var WINDOWS10_MANIFEST = 'package.windows10.appxmanifest';
var FIXTURES = path.join(__dirname, 'fixtures');
var DUMMY_PLUGIN = 'org.test.plugins.capabilityplugin';
--
To stop receiving notification emails like this one, please contact
janpio@apache.org.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org