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

@ -346,13 +346,26 @@
case this.fullApp:
// XXX: This should be replaced probably by Web Activities
var host = document.location.host;
var domain = host.replace(/(^[\w\d]+\.)?([\w\d]+\.[a-z]+)/, '$2');
var protocol = document.location.protocol + '//';
applications.getByManifestURL(protocol + 'settings.' +
domain + '/manifest.webapp').launch();
UtilityTray.hide();
var settingsURL = new URL(document.location.href);
if (settingsURL.hostname.indexOf('system.') !== 0) {
console.error('Quick settings: cannot resolve Settings app host');
return;
}
settingsURL.hostname = 'settings.' +
settingsURL.hostname.slice('system.'.length);
settingsURL.pathname = '/manifest.webapp';
settingsURL.search = '';
settingsURL.hash = '';
applications.waitForReady().then(function() {
var settingsApp = applications.getByManifestURL(
settingsURL.href);
if (!settingsApp) {
console.error('Quick settings: Settings app is not installed');
return;
}
settingsApp.launch();
UtilityTray.hide();
});
break;
}
break;