Make remote app binary name consistent with app ID

This commit is contained in:
Rafostar
2020-12-16 15:33:39 +01:00
parent 57ceb17100
commit 254d1aa9db
3 changed files with 2 additions and 2 deletions

View File

@@ -0,0 +1,17 @@
#!@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);