Release Vulpes OS 2.7-preview.24

This commit is contained in:
OverSu 2026-11-04 12:52:20 +01:00
commit 97ef99f827
135 changed files with 7717 additions and 2524 deletions

View file

@ -46,7 +46,7 @@ export class Platform {
this.notifications = new Map();
this.nextId = 1;
this.cameraWindow = null;
this.nativeCamera = new NativeCamera();
this.nativeCamera = new NativeCamera(Services.env.get('VULPES_DEVICE') || '');
this.picking = false;
}
async init() {
@ -242,6 +242,7 @@ export class Platform {
throw Error('NOT_SUPPORTED');
}
if (Services.env.get('VULPES_TUNDRA_STATUS') === '1') {
if (operation === 'cameraPreview') return this.nativeCamera.request(actor, params);
if (operation === 'wifi') return tundraWifi(params);
const radio = Services.env.get('VULPES_TUNDRA_RADIO') === '1';
if (radio && operation === 'radioPower') return tundraRadio('radioPower',params);
@ -255,7 +256,7 @@ export class Platform {
adapter:{version:'0.1.0-dev',device:'beatles'}, tundra:'0.1.0-dev',
version:this.runtime.release.version, gaia:this.runtime.release.gaia,
gecko:Services.appinfo.platformVersion, hardwareStatus:true,
radioStatus:true, wifiControl:Services.env.get('VULPES_TUNDRA_WIFI') === '1', camera:false, media:true, contacts:true,
radioStatus:true, wifiControl:Services.env.get('VULPES_TUNDRA_WIFI') === '1', camera:Services.env.get('VULPES_TUNDRA_CAMERA') === '1', media:true, contacts:true,
notifications:true, dial:radio, callControl:radio, sms:radio, mms:false, callAudio:radio, alarms:false,
};
}