Skip to content

Commit

Permalink
Install tasks: remove Windows 10 recognition for now (Windows 11 23H2…
Browse files Browse the repository at this point in the history
… or later is required)).

This comit prepares for end of Windows 10 support scenario by setting minimum Windows version to Windows 11 23H2. This is subject to reversion if Windows 11 24H2 requirement is in effect while needing to recognize Windows 10.
  • Loading branch information
josephsl committed Mar 2, 2025
1 parent 7f65301 commit 62601e6
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions addon/installTasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,8 @@ def onInstall() -> None:
# and the add-on may end support for a feature update prior to end of consumer support.
# See aka.ms/WindowsTargetVersioninfo.
# For Insider Preview, only the latest canary/dev/beta/release preview builds are supported.
minimumWinVer = (
winVersion.WIN11_23H2
if ((currentWinVer := winVersion.getWinVer()) > winVersion.WIN10_22H2)
else winVersion.WIN10_22H2 # 64-bit only, final feature update (supported until October 2025)
)
if currentWinVer < minimumWinVer:
minimumWinVer = winVersion.WIN11_23H2
if (currentWinVer := winVersion.getWinVer()) < minimumWinVer:
gui.MessageDialog.alert(
# Tell mypy that it is okay to ignore gettext calls.
_( # type: ignore[name-defined]
Expand Down

0 comments on commit 62601e6

Please sign in to comment.