playlite
    Preparing search index...

    Function useAppUpdate

    • Custom hook to check for app updates and manage update state.

      Returns { updateType: UpdateType; isMajorOpen: boolean; closeMajorModal: () => void }

      An object with:

      • updateType: Type of update ('none', 'patch', 'minor', 'major')
      • isMajorOpen: Boolean indicating if major update modal is open
      • closeMajorModal: Function to close the major update modal