gnome-shell/subprojects/extensions-app/js/org.gnome.Extensions.in

11 lines
319 B
Plaintext
Raw Normal View History

import {programInvocationName, programArgs} from 'system';
imports.package.init({
name: '@PACKAGE_NAME@',
version: '@PACKAGE_VERSION@',
prefix: '@prefix@',
libdir: '@libdir@',
});
const {main} = await import(`${imports.package.moduledir}/main.js`);
await main([programInvocationName, ...programArgs]);