core: core.globalSettingsGet JS => C.

This commit is contained in:
2025-10-15 18:24:38 -04:00
parent 8ca64550e5
commit 4bdc7ec616
4 changed files with 131 additions and 4 deletions

View File

@@ -361,10 +361,6 @@ async function getProcessBlob(blobId, key, options) {
}
return settings;
};
imports.core.globalSettingsGet = async function (key) {
let settings = await loadSettings();
return settings?.[key];
};
imports.core.globalSettingsSet = async function (key, value) {
await imports.core.permissionTest('set_global_setting');
print('Setting', key, value);