find-itch-games
    Preparing search index...

    Function readReceipt

    • Reads the receipt itch left inside an install folder.

      Falls back to the pre-v23 receipt.json format, which is normalized into the same shape with the ids it carries under legacy.

      Parameters

      • installPath: string

        A game's install folder.

      Returns Promise<IItchReceipt | null>

      The receipt, or null if the folder has none.