Sets the root directory path for the OpenComic AI package. This is primarily used in bundled or packaged applications where the package location differs from the default.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ollm/opencomic-ai-bin/llms.txt
Use this file to discover all available pages before exploring further.
Syntax
Parameters
Path to the package root directory. Can be absolute or relative.
Returns
void - This method does not return a value.
Behavior
- The path is resolved to an absolute path automatically
- Used internally to locate binaries and resources
- Essential for bundled applications where
__dirnamemay not reflect the actual package location
Example
Use cases
Electron applications
Packaged applications
Related
- setModelsPath() - Configure models directory
- Installation - Setup and configuration