find-itch-games
    Preparing search index...

    Function resolveDatabasePath

    • Locates the butler database, allowing for the butler-<host>.db name that builds configured against a non-standard itch.io host use.

      Parameters

      • itchPath: string

        An itch user-data directory.

      Returns Promise<string>

      The database path. Falls back to the default name when there is none on disk, so callers always have a path to report.