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/23 04:30:14 UTC
[cordova-windows] 01/03: remove handling of Windows 8.1 jsproj file
This is an automated email from the ASF dual-hosted git repository.
brodybits pushed a commit to branch brodybits-uwp-only-test-wip0560
in repository https://gitbox.apache.org/repos/asf/cordova-windows.git
commit c7f3752cd4f20f9448c3264a063ab00172673221
Author: Christopher J. Brody <ch...@brody.consulting>
AuthorDate: Sun Dec 22 23:25:07 2019 -0500
remove handling of Windows 8.1 jsproj file
---
template/cordova/lib/MSBuildTools.js | 7 +++----
template/cordova/lib/build.js | 4 ----
2 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/template/cordova/lib/MSBuildTools.js b/template/cordova/lib/MSBuildTools.js
index 4b6858f..ba7de80 100644
--- a/template/cordova/lib/MSBuildTools.js
+++ b/template/cordova/lib/MSBuildTools.js
@@ -255,20 +255,19 @@ module.exports.getLatestMSBuild = function () {
};
var projFiles = {
- win: 'CordovaApp.Windows.jsproj',
win10: 'CordovaApp.Windows10.jsproj'
};
// TODO: Fix this so that it outlines supported versions based on version criteria:
// - v15.5: Windows 10 only
// - v15.x: TBD
-// - v14: Windows 8.1, Windows 10
+// - v14: Windows 8.1 (no longer supported), Windows 10
function msBuild14TargetsFilter (target) {
- return target === projFiles.win || target === projFiles.win10;
+ return target === projFiles.win10;
}
function msBuild15TargetsFilter (target) {
- return target === projFiles.win || target === projFiles.win10;
+ return target === projFiles.win10;
}
function msBuild155TargetsFilter (target) {
diff --git a/template/cordova/lib/build.js b/template/cordova/lib/build.js
index 98b61ad..9581170 100644
--- a/template/cordova/lib/build.js
+++ b/template/cordova/lib/build.js
@@ -33,11 +33,9 @@ var events = require('cordova-common').events;
var CordovaError = require('cordova-common').CordovaError;
var projFiles = {
- win: 'CordovaApp.Windows.jsproj',
win10: 'CordovaApp.Windows10.jsproj'
};
var projFilesToManifests = {
- 'CordovaApp.Windows.jsproj': 'package.windows.appxmanifest',
'CordovaApp.Windows10.jsproj': 'package.windows10.appxmanifest'
};
@@ -152,8 +150,6 @@ function getBuildTargets (isWinSwitch, isPhoneSwitch, projOverride, buildConfig)
case projFiles.win10:
buildConfig.targetProject = 'windows10';
break;
- case projFiles.win:
- /* falls through */
default:
buildConfig.targetProject = 'windows';
break;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org