update devicetype enums

This commit is contained in:
Kyle Spearrin 2018-07-09 09:13:54 -04:00
parent 085b7c10fe
commit 26baac529e
2 changed files with 4 additions and 4 deletions

2
jslib

@ -1 +1 @@
Subproject commit 8ac3450d9eee10c54bc35dd931a70bf82f97d0a5
Subproject commit 621a6d1524a4053725a54b9688364ea97958eefa

View File

@ -22,14 +22,14 @@ export class NodePlatformUtilsService implements PlatformUtilsService {
if (!this.deviceCache) {
switch (process.platform) {
case 'win32':
this.deviceCache = DeviceType.Windows;
this.deviceCache = DeviceType.WindowsDesktop;
break;
case 'darwin':
this.deviceCache = DeviceType.MacOs;
this.deviceCache = DeviceType.MacOsDesktop;
break;
case 'linux':
default:
this.deviceCache = DeviceType.Linux;
this.deviceCache = DeviceType.LinuxDesktop;
break;
}
}