Release Vulpes OS 2.7 Preview 25 for Desktop, Android and Pixel 3a
This commit is contained in:
parent
6a44daeaaa
commit
3a1fba4efe
1 changed files with 1301 additions and 196 deletions
|
|
@ -219,8 +219,13 @@ export async function run(win) {
|
|||
report.capabilities = await evaluate('system', "return await VulpesCompat.call('platform.capabilities', {});");
|
||||
report.checks.nativeIdentity = report.capabilities.platform === 'tundra';
|
||||
report.checks.batteryRead = report.hardware.available && Number.isFinite(report.hardware.battery?.level);
|
||||
report.checks.callScreenReady = await evaluate('system',
|
||||
"return !!navigator.mozTelephony && !!document.querySelector('.callscreenWindow') && Array.isArray(await VulpesCompat.call('platform.calls', {}));");
|
||||
try {
|
||||
report.checks.callScreenReady = await evaluate('system',
|
||||
"return !!navigator.mozTelephony && !!document.querySelector('.callscreenWindow') && Array.isArray(await VulpesCompat.call('platform.calls', {}));");
|
||||
} catch (error) {
|
||||
report.checks.callScreenReady = false;
|
||||
report.callScreenError = String(error);
|
||||
}
|
||||
try {
|
||||
const { tundraRadio } = ChromeUtils.importESModule('resource://vulpes/host/Tundra.sys.mjs');
|
||||
const state = await tundraRadio('status');
|
||||
|
|
|
|||
Loading…
Reference in a new issue