#!@GJS@ /* pkg init enforces the imports path to the folder * named after the pkg name, but I would prefer to have * the bundled subprocess stored in the same directory */ imports.searchPath.unshift('@datadir@/@PACKAGE_NAME@'); const Package = imports.package; Package.init({ name: '@PACKAGE_NAME@.@ID_POSTFIX@', version: '@PACKAGE_VERSION@', prefix: '@prefix@', libdir: '@libdir@', datadir: '@datadir@', }); Package.run(imports.clapper_src.main@ID_POSTFIX@);