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

@ -281,6 +281,16 @@ export const Runtime = {
this.actors.add(actor);
const { method, params } = request;
if (typeof method !== 'string') return { error: { code: 'INVALID_REQUEST' } };
if (method === 'system.screenshot') {
if (app.id !== 'system') return { error: { code: 'PERMISSION_DENIED' } };
try { return { result: await Views.captureSystem(actor) }; }
catch (error) { return { error: { code: error.message || 'SCREENSHOT_FAILED' } }; }
}
if (method === 'apps.close') {
if (app.id !== 'costcontrol') return { error: { code: 'PERMISSION_DENIED' } };
this.broadcast('home', {}, 'system');
return { result: true };
}
if(method.startsWith('marketplace.')) {
if(app.id!=='marketplace')return {error:{code:'PERMISSION_DENIED'}};
try {