You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by br...@apache.org on 2019/12/22 17:39:59 UTC
[cordova-windows] 11/21: more: remove package.phone.appxmanifest
and package.windows.appxmanifest and related
This is an automated email from the ASF dual-hosted git repository.
brodybits pushed a commit to branch brodybits-uwp-only-wip001
in repository https://gitbox.apache.org/repos/asf/cordova-windows.git
commit 851d2ab8c92c7a2df3de1e6a0795c54b84d35f2a
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 6919145..168ab36 100644
--- a/bin/lib/create.js
+++ b/bin/lib/create.js
@@ -101,8 +101,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 a772550..5731d32 100644
--- a/spec/unit/ConfigChanges.spec.js
+++ b/spec/unit/ConfigChanges.spec.js
@@ -31,7 +31,6 @@ var EventEmitter = require('events');
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 unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org