Gio.resources_register
function resources_register(resource: Gio.Resource): void {
// Gjs wrapper for g_resources_register()
}
Registers the resource with the process-global set of resources. Once a resource is registered the files in it can be accessed with the global resource lookup functions like Gio.resources_lookup_data.
Since 2.32
- resource