Utility Functions (for scripts developers)
Lyth provides a set of utility functions that are used internally and can also be used in package hooks.
globalThis.:
_import(path): Imports a module from the package's directory. (LYTH_PKG_DIR_PATH + path)__import(path): Imports the default export of a module from the package's directory. (LYTH_PKG_DIR_PATH + path).default_importSRC(path): Imports a module from Lyth'ssrcdirectory. (LYTH_SRC + path)createDesktopFile(entry): Creates a.desktopfile for launching applications.