Plants vs. Zombies: Replanted - v1.0.3
    Preparing search index...

    Function ensureWritableDirOrWarn

    • Ensures that a directory exists and is writable, otherwise warns the user.

      If the directory is not writable, an error is logged and a Vortex notification is shown describing the problem and offering to open the folder.

      Parameters

      • api: IExtensionApi

        Vortex extension API.

      • absPath: string

        Absolute path of the directory to check.

      Returns Promise<boolean>

      A promise resolving to true if the directory is writable, false otherwise.