Skip to content

[WIP] Update API to 2025.1#6

Merged
cary-rowen merged 1 commit into
nvdacn:mainfrom
hwf1324:2025.1
Jul 1, 2025
Merged

[WIP] Update API to 2025.1#6
cary-rowen merged 1 commit into
nvdacn:mainfrom
hwf1324:2025.1

Conversation

@hwf1324

@hwf1324 hwf1324 commented Jun 15, 2025

Copy link
Copy Markdown
Collaborator

No description provided.

@hwf1324 hwf1324 marked this pull request as draft June 15, 2025 17:08
MIRROR_STORE_URL = "https://addonstore.nvaccess.mirror.nvdadr.com"
REQUIRED_PRIVATE_API_VERSION = (2023, 2)
REQUIRED_API_VERSION = (2024, 1)
INVALIDATE_API_VERSION = (2025, 1)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'invalid' may be confusing, Could there be a more appropriate name?

log.info(f"Set the NVDA update mirror to: {MIRROR_CHECK_UPDATE_URL}")
self.originalURL = updateCheck.CHECK_URL
updateCheck.CHECK_URL = MIRROR_CHECK_UPDATE_URL
if CURRENT_API_VERSION >= INVALIDATE_API_VERSION:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it necessary to record version information in the log?

@cary-rowen cary-rowen marked this pull request as ready for review July 1, 2025 15:47
@cary-rowen

Copy link
Copy Markdown
Contributor

Due to the urgent demand from users, we will quickly merge this

@cary-rowen cary-rowen merged commit e3f7fa5 into nvdacn:main Jul 1, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants