MCPcopy Create free account
hub / github.com/WavesMan/Disable-automatic-Windows-update / check_update

Function check_update

python/core/main.py:115–118  ·  view source on GitHub ↗
(current_version: str | None = None)

Source from the content-addressed store, hash-verified

113
114
115def check_update(current_version: str | None = None):
116 # NOTE: 供界面触发的版本比较入口;current_version 不传时使用内置版本号
117 services = make_services("")
118 return _invoke("check_update", lambda: services["version"].check_update(current_version))
119
120
121def disable_firewall():

Callers 1

_check_updateFunction · 0.85

Calls 3

make_servicesFunction · 0.85
_invokeFunction · 0.85
check_updateMethod · 0.80

Tested by

no test coverage detected