diff --git a/CHANGELOG.md b/CHANGELOG.md index 446adee..16b7fff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,14 @@ Ce projet suit le [Versionnage Sémantique](https://semver.org/lang/fr/). --- +## [0.4.2] — 2026-08-31 + +### Corrigé +- **Binaire Windows qui ne démarrait pas** : le paquetage PyInstaller sous Wine oubliait + d'embarquer le plugin Qt nécessaire au rendu de l'interface graphique sous Windows, faisant + échouer l'application dès le lancement avec l'erreur « no Qt platform plugin could be + initialized ». Le plugin est désormais inclus systématiquement dans le binaire. + ## [0.4.1] — 2026-08-31 ### Corrigé diff --git a/Makefile b/Makefile index 079f7f8..c2d88fd 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ ## ────────────────────────────────────────────── APP := wgsecure -VERSION := 0.4.1 +VERSION := 0.4.2 VENV := .venv PYTHON := $(VENV)/bin/python3 PIP := $(VENV)/bin/pip @@ -27,7 +27,7 @@ PI_OPTS := \ --hidden-import cryptography.hazmat.primitives.asymmetric.x25519 \ --collect-submodules PyQt6 -.PHONY: all linux windows release install install-gnome uninstall-gnome run run-admin icon reset-password setup-sudoers check-privileges clean clean-all help venv +.PHONY: all linux windows release version changelog install install-gnome uninstall-gnome run run-admin icon reset-password setup-sudoers check-privileges clean clean-all help venv # ── Cible par défaut ──────────────────────────────────────────────────────── all: linux @@ -132,6 +132,14 @@ release: clean linux @mv $(DIST)/$(APP) $(DIST)/$(APP)-$(VERSION)-linux-x86_64 @echo " 📦 Release → $(DIST)/$(APP)-$(VERSION)-linux-x86_64" +# ── Version courante ────────────────────────────────────────────────────────── +version: + @echo "$(VERSION)" + +# ── Dernière entrée du changelog ───────────────────────────────────────────── +changelog: + @awk '/^## \[/{if(n++)exit} n' CHANGELOG.md + # ── Installation GNOME (utilisateur local, sans sudo) ──────────────────────── INSTALL_BIN := $(HOME)/.local/bin INSTALL_ICON := $(HOME)/.local/share/icons/hicolor/256x256/apps @@ -252,6 +260,8 @@ help: @echo " ║ make linux Binaire Linux (onefile) ║" @echo " ║ make windows Binaire Windows (Wine) ║" @echo " ║ make release Linux + nommage release ║" + @echo " ║ make version Affiche la version ║" + @echo " ║ make changelog Dernière entrée changelog║" @echo " ║ make setup-wine Python Windows dans Wine ║" @echo " ║ make install-gnome Installe dans GNOME ║" @echo " ║ make uninstall-gnome Désinstalle de GNOME ║" diff --git a/README.md b/README.md index 872cec9..5cc7dea 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 🛡️ WGSecure (WGS) -🚀 v0.4.1 · 🐍 · 🪟🐧 · 🔐 MFA TOTP · 🛡️ WireGuard +🚀 v0.4.2 · 🐍 · 🪟🐧 · 🔐 MFA TOTP · 🛡️ WireGuard **WGSecure** est une interface graphique multiplateforme (Windows & Linux) pour gérer une connexion WireGuard avec une surcouche MFA (authentification à deux facteurs TOTP). diff --git a/app/core/config.py b/app/core/config.py index 122ed61..172df77 100644 --- a/app/core/config.py +++ b/app/core/config.py @@ -24,7 +24,7 @@ _WG_DEFAULT: dict[str, Any] = { } _DEFAULT: dict[str, Any] = { - "version": "0.4.1", + "version": "0.4.2", "admin_password_hash": "", "admin_salt": "", "mfa_enabled": False, diff --git a/app/ui/admin_window.py b/app/ui/admin_window.py index ef967e5..9d851d7 100644 --- a/app/ui/admin_window.py +++ b/app/ui/admin_window.py @@ -675,7 +675,7 @@ class AdminWindow(QDialog): name_lbl.setStyleSheet("color: white;") layout.addWidget(name_lbl) - version_lbl = QLabel("Version 0.4.1") + version_lbl = QLabel("Version 0.4.2") version_lbl.setAlignment(Qt.AlignmentFlag.AlignCenter) version_lbl.setStyleSheet("color: rgba(255,255,255,0.7); font-size: 13px;") layout.addWidget(version_lbl) diff --git a/main.py b/main.py index 44b6272..7803559 100644 --- a/main.py +++ b/main.py @@ -1,7 +1,7 @@ #!/usr/bin/env python3 """ WGSecure (WGS) — Interface graphique WireGuard avec MFA -Version 0.4.1 +Version 0.4.2 """ import sys import argparse @@ -92,7 +92,7 @@ def main(): ) app = QApplication(sys.argv) app.setApplicationName("WGSecure") - app.setApplicationVersion("0.4.1") + app.setApplicationVersion("0.4.2") app.setOrganizationName("WGS") # Icône globale multi-tailles — barre des tâches + alt-tab app_icon = icons.icon_app() diff --git a/wgsecure.iss b/wgsecure.iss index eb1ce36..9351f8f 100644 --- a/wgsecure.iss +++ b/wgsecure.iss @@ -4,7 +4,7 @@ ; ────────────────────────────────────────────── #define MyAppName "WGSecure" -#define MyAppVersion "0.4.1" +#define MyAppVersion "0.4.2" #define MyAppPublisher "WGSecure" #define MyAppExeName "wgsecure.exe"