mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 07:42:23 +02:00
18 lines
456 B
Plaintext
18 lines
456 B
Plaintext
#!@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@/@PROJECT_NAME@');
|
|
|
|
const Package = imports.package;
|
|
|
|
Package.init({
|
|
name: '@PACKAGE_NAME@',
|
|
version: '@PACKAGE_VERSION@',
|
|
prefix: '@prefix@',
|
|
libdir: '@libdir@',
|
|
datadir: '@datadir@',
|
|
});
|
|
Package.run(imports.clapper_src.mainRemote);
|