v0.6.5 - Fix affichage icone dans le header

Changements :
- Methode _find_icon() : cherche icon.png a cote de l'exe puis dans _internal comme fallback
- Redimensionnement corrige : diviseur commun pour conserver le ratio (image 912x1164)
- tk.Label au lieu de ttk.Label pour l'image (meilleur rendu sur fond sombre)
- icon.png bundle dans l'exe via --add-data pour fonctionner sans le fichier externe
- Logs d'erreur si l'icone ne charge pas

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-24 22:24:24 +01:00
parent 1a51d6b5fa
commit 8718b04a7d
6 changed files with 28 additions and 15 deletions

View File

@@ -25,7 +25,7 @@ python -c "from PIL import Image; img = Image.open('icon.png'); img.save('icon.i
echo [*] Compilation en cours...
echo.
pyinstaller --onedir --noconsole --name "GitUpdateChecker" --icon=icon.ico -y git_updater.py
pyinstaller --onedir --noconsole --name "GitUpdateChecker" --icon=icon.ico --add-data "icon.png:." -y git_updater.py
echo.
if exist "dist\GitUpdateChecker\GitUpdateChecker.exe" (