This commit is contained in:
tuxgyver
2026-08-31 13:48:41 +02:00
parent 790d302645
commit 84868526fc
7 changed files with 26 additions and 8 deletions
+8
View File
@@ -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 ## [0.4.1] — 2026-08-31
### Corrigé ### Corrigé
+12 -2
View File
@@ -4,7 +4,7 @@
## ────────────────────────────────────────────── ## ──────────────────────────────────────────────
APP := wgsecure APP := wgsecure
VERSION := 0.4.1 VERSION := 0.4.2
VENV := .venv VENV := .venv
PYTHON := $(VENV)/bin/python3 PYTHON := $(VENV)/bin/python3
PIP := $(VENV)/bin/pip PIP := $(VENV)/bin/pip
@@ -27,7 +27,7 @@ PI_OPTS := \
--hidden-import cryptography.hazmat.primitives.asymmetric.x25519 \ --hidden-import cryptography.hazmat.primitives.asymmetric.x25519 \
--collect-submodules PyQt6 --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 ──────────────────────────────────────────────────────── # ── Cible par défaut ────────────────────────────────────────────────────────
all: linux all: linux
@@ -132,6 +132,14 @@ release: clean linux
@mv $(DIST)/$(APP) $(DIST)/$(APP)-$(VERSION)-linux-x86_64 @mv $(DIST)/$(APP) $(DIST)/$(APP)-$(VERSION)-linux-x86_64
@echo " 📦 Release → $(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) ──────────────────────── # ── Installation GNOME (utilisateur local, sans sudo) ────────────────────────
INSTALL_BIN := $(HOME)/.local/bin INSTALL_BIN := $(HOME)/.local/bin
INSTALL_ICON := $(HOME)/.local/share/icons/hicolor/256x256/apps INSTALL_ICON := $(HOME)/.local/share/icons/hicolor/256x256/apps
@@ -252,6 +260,8 @@ help:
@echo " make linux Binaire Linux (onefile) " @echo " make linux Binaire Linux (onefile) "
@echo " make windows Binaire Windows (Wine) " @echo " make windows Binaire Windows (Wine) "
@echo " make release Linux + nommage release " @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 setup-wine Python Windows dans Wine "
@echo " make install-gnome Installe dans GNOME " @echo " make install-gnome Installe dans GNOME "
@echo " make uninstall-gnome Désinstalle de GNOME " @echo " make uninstall-gnome Désinstalle de GNOME "
+1 -1
View File
@@ -1,6 +1,6 @@
# 🛡️ WGSecure (WGS) # 🛡️ 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). **WGSecure** est une interface graphique multiplateforme (Windows & Linux) pour gérer une connexion WireGuard avec une surcouche MFA (authentification à deux facteurs TOTP).
+1 -1
View File
@@ -24,7 +24,7 @@ _WG_DEFAULT: dict[str, Any] = {
} }
_DEFAULT: dict[str, Any] = { _DEFAULT: dict[str, Any] = {
"version": "0.4.1", "version": "0.4.2",
"admin_password_hash": "", "admin_password_hash": "",
"admin_salt": "", "admin_salt": "",
"mfa_enabled": False, "mfa_enabled": False,
+1 -1
View File
@@ -675,7 +675,7 @@ class AdminWindow(QDialog):
name_lbl.setStyleSheet("color: white;") name_lbl.setStyleSheet("color: white;")
layout.addWidget(name_lbl) 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.setAlignment(Qt.AlignmentFlag.AlignCenter)
version_lbl.setStyleSheet("color: rgba(255,255,255,0.7); font-size: 13px;") version_lbl.setStyleSheet("color: rgba(255,255,255,0.7); font-size: 13px;")
layout.addWidget(version_lbl) layout.addWidget(version_lbl)
+2 -2
View File
@@ -1,7 +1,7 @@
#!/usr/bin/env python3 #!/usr/bin/env python3
""" """
WGSecure (WGS) — Interface graphique WireGuard avec MFA WGSecure (WGS) — Interface graphique WireGuard avec MFA
Version 0.4.1 Version 0.4.2
""" """
import sys import sys
import argparse import argparse
@@ -92,7 +92,7 @@ def main():
) )
app = QApplication(sys.argv) app = QApplication(sys.argv)
app.setApplicationName("WGSecure") app.setApplicationName("WGSecure")
app.setApplicationVersion("0.4.1") app.setApplicationVersion("0.4.2")
app.setOrganizationName("WGS") app.setOrganizationName("WGS")
# Icône globale multi-tailles — barre des tâches + alt-tab # Icône globale multi-tailles — barre des tâches + alt-tab
app_icon = icons.icon_app() app_icon = icons.icon_app()
+1 -1
View File
@@ -4,7 +4,7 @@
; ────────────────────────────────────────────── ; ──────────────────────────────────────────────
#define MyAppName "WGSecure" #define MyAppName "WGSecure"
#define MyAppVersion "0.4.1" #define MyAppVersion "0.4.2"
#define MyAppPublisher "WGSecure" #define MyAppPublisher "WGSecure"
#define MyAppExeName "wgsecure.exe" #define MyAppExeName "wgsecure.exe"