extensions: Port app to ESM
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1499>
This commit is contained in:
parent
12f6d7027b
commit
e48ff53a78
@ -11,9 +11,9 @@ const Package = imports.package;
|
||||
Package.initFormat();
|
||||
|
||||
const Config = imports.misc.config;
|
||||
const ExtensionUtils = imports.misc.extensionUtils;
|
||||
import * as ExtensionUtils from './misc/extensionUtils.js';
|
||||
|
||||
const { ExtensionState, ExtensionType } = ExtensionUtils;
|
||||
import {ExtensionState, ExtensionType} from './misc/extensionUtils.js';
|
||||
|
||||
const GnomeShellIface = loadInterfaceXML('org.gnome.Shell.Extensions');
|
||||
const GnomeShellProxy = Gio.DBusProxy.makeProxyWrapper(GnomeShellIface);
|
||||
|
Loading…
x
Reference in New Issue
Block a user