Use proper ID for remote app

This commit is contained in:
Rafostar
2020-12-16 14:42:40 +01:00
parent 04f1d2397f
commit 57ceb17100
4 changed files with 20 additions and 16 deletions

View File

@@ -1,5 +1,10 @@
#!@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({