Detect Windows platform for TEE.
This commit is contained in:
parent
8d63fa3507
commit
80d2b7bc01
1 changed files with 2 additions and 1 deletions
|
|
@ -38,10 +38,11 @@ angular.module('copayApp.services').factory('platformInfo', function($window) {
|
|||
ret.isMobile = ret.isAndroid || ret.isIOS || ret.isWP;
|
||||
ret.isChromeApp = $window.chrome && chrome.runtime && chrome.runtime.id && !ret.isNW;
|
||||
ret.isDevel = !ret.isMobile && !ret.isChromeApp && !ret.isNW;
|
||||
ret.isWindows = navigator.platform.indexOf('Win') > -1;
|
||||
|
||||
ret.supportsLedger = ret.isChromeApp;
|
||||
ret.supportsTrezor = ret.isChromeApp || ret.isDevel;
|
||||
ret.supportsIntelTEE = false;
|
||||
ret.supportsIntelTEE = ret.isWindows; // TODO need to detect specific chip set for TEE support
|
||||
|
||||
return ret;
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue