resolveObsidianExecutable
Resolves the installed desktop Obsidian executable.
Looks on PATH first (preferring a real executable over a scoop shim), then at the installer’s location: %LOCALAPPDATA%\Programs\Obsidian\Obsidian.exe on Windows and /Applications/Obsidian.app on macOS. On Linux only PATH is searched.
Import:
import { resolveObsidianExecutable } from '@mnaoumov/obsidian-dev-toolkit/obsidian-debug-launcher';Signature:
function resolveObsidianExecutable(): Promise<string>Returns: Promise<string> — A Promise that resolves to the absolute path of the executable.