The app checks GitHub Releases of lolpirez/Youtube-hunter 6 s after launch and every 6 h.
Source-only releases are skipped: the app walks the release list newest-first and only offers one that carries a valid Windows installer, so a source drop can never hide or block a published update.
-
Bump the version in three places:
app/constants.py(APP_VERSION),installer.iss(MyAppVersion),version_info.txt. -
Run
build.bat->Output\YouTubeHunter-Setup.exe. -
On GitHub: Releases -> Draft a new release, tag
v1.1.0or higher (must be higher than the installed version), write the notes (Markdown, shown in the popup), attach the installer, Publish (not draft, not pre-release).Name the asset
YouTubeHunter-Setup-<version>-x64.exeso the download says what it is. The app picks the release asset whose name containsYouTubeHunter-Setup(seeUPDATE_ASSET_HINTinapp/constants.py), so the version in the file name is fine.
That's it. Every installed copy sees it on next launch / within 6 h.
- A notification ("Update available: v1.0.1") in the bell tray, plus a desktop card once per version.
- A download button next to the ? (tour) button in the title bar, with a pulsing dot.
- Click -> popup: version from -> to, date, size, release notes -> Download & install.
- Live progress (percent, MB, speed, time left). The file is SHA-256 verified against GitHub's asset digest.
- When done: 5 s countdown -> the app closes, Setup installs silently, and the app reopens by itself (
/relaunch=1, seeinstaller.iss). - Running from source (
python main_qml.py): the installer opens as a normal wizard instead.
"auto_update": falsein%APPDATA%\YoutubeScrapperCyber\config.jsonturns checks off.- The repo and asset name live in
app/constants.py(UPDATE_REPO,UPDATE_ASSET_HINT).
The repo must be public (the unauthenticated GitHub API cannot see private releases). Limit: 60 checks/hour per IP, far above what the app uses.