UNPKG

@minecraft/creator-tools

Version:

Minecraft Creator Tools command line and libraries.

26 lines (25 loc) 872 B
/** * Electron Main Process Entry Point * * ARCHITECTURE: * This is the main entry point for the Minecraft Creator Tools Electron app. * It orchestrates: * - App lifecycle (startup, squirrel events, single instance) * - Window creation and management * - IPC handler registration for renderer communication * - Command handlers for server, file system features * * COMMAND LINE ARGUMENTS: * - -h, --help: Show help * - -i <path>: Input path to open * - -o, --out <path>: Output path for exports * - -c, --cmd <command>: Run a specific command (exportworld, help) * - --storage <path>: Custom storage path for all app data * * APP MODES: * - APP_MODE_MAINAPP (0): Normal Minecraft Creator Tools * - APP_MODE_EXPORTWORLD (1): Export world command * - APP_MODE_ERRORHELP (99): Show help and exit * - APP_MODE_EXIT (100): Exit immediately */ export {};