Skip to content

Tankōbon / hooks/use-launch-file / useLaunchFile

Function: useLaunchFile() ​

useLaunchFile(): void

Defined in: hooks/use-launch-file.ts:14

Opens in the reader the comic the operating system asked for (a double click in the file explorer, "Open with…", a second launch with a file). The main process offers it as a token: the hook takes it at start-up, for a launch that began with the file, and whenever the main process says another is waiting.

Returns ​

void