Skip to content

Commit a5cf8de

Browse files
committed
chore: Fixed merge conflicts.
1 parent 536a19e commit a5cf8de

File tree

4 files changed

+18
-17
lines changed

4 files changed

+18
-17
lines changed

packages/plugin-titanium/src/cli/info/windows.js

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,19 @@ export default {
33
render(console, info) {
44
const { bold, cyan, gray, magenta } = require('chalk');
55

6-
console.log('Windows');
7-
console.log(info);
6+
console.log(bold('Microsoft® Visual Studio'));
7+
8+
if (info.visualstudio && Object.keys(info.visualstudio).length) {
9+
for (const ver of Object.keys(info.visualstudio).sort()) {
10+
const vs = info.visualstudio[ver];
11+
console.log(` ${cyan(ver)}${vs.selected ? gray(' (selected)') : ''}`);
12+
console.log(` Path = ${magenta(vs.path)}`);
13+
console.log(` CLR Version = ${magenta(vs.clrVersion)}`);
14+
console.log(` MSBuild Version = ${magenta(`v${vs.msbuildVersion}`)}`);
15+
}
16+
} else {
17+
console.log(gray(' None'));
18+
}
819
console.log();
920
}
1021
};

packages/plugin-windows/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
# v1.5.0
1+
# v2.0.0
22

3+
* BREAKING CHANGE: Removed all Windows Phone related code.
4+
* fix: Updated config to remove redundant `windows` namespace.
35
* chore: Update dependencies.
46

57
# v1.4.0 (Jun 6, 2019)

packages/plugin-windows/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@appcd/plugin-windows",
3-
"version": "1.4.0",
3+
"version": "2.0.0",
44
"description": "Windows service for the Appc Daemon.",
55
"main": "./dist/index",
66
"author": "Appcelerator, Inc. <[email protected]>",

packages/plugin-windows/src/windows-info-service.js

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -18,28 +18,16 @@ export default class WindowsInfoService extends DataServiceDispatcher {
1818
*/
1919
async activate(cfg) {
2020
this.data = gawk({
21-
devices: [],
22-
emulators: {},
2321
windows: {},
2422
visualstudio: {},
25-
windowsphone: {},
2623
selectedVisualStudio: {}
2724
});
2825

2926
this.timers = {};
3027

3128
// wire up Visual Studio detection first so that we can use its result to know if we should query the other thing
3229
await this.wireupDetection('visualstudio', get(cfg, 'windows.visualstudio.pollInterval') || 60000 * 10, () => this.detectVisualStudios());
33-
34-
await Promise.all([
35-
this.wireupDetection('emulators', get(cfg, 'windows.emulators.pollInterval') || 60000 * 5, () => this.detectEmulators()),
36-
this.wireupDetection('windows', get(cfg, 'windows.windowsSDK.pollInterval') || 60000 / 2, () => this.detectWindowsSDKs()),
37-
this.wireupDetection('windowsphone', get(cfg, 'windows.windowsPhone.pollInterval') || 60000 / 2, () => this.detectWindowsPhone())
38-
]);
39-
40-
// wire up devices after the rest to avoid DAEMON-173 where emulator and
41-
// device detect functions attempt to build and write wptool at the same time
42-
await this.wireupDetection('devices', get(cfg, 'windows.device.pollInterval') || 2500, () => this.detectDevices());
30+
await this.wireupDetection('windows', get(cfg, 'windows.windowsSDK.pollInterval') || 60000 / 2, () => this.detectWindowsSDKs());
4331
}
4432

4533
/**

0 commit comments

Comments
 (0)