From 23837a6e8bfa9dff8cec0611385ba1545a54f1e9 Mon Sep 17 00:00:00 2001 From: Louis Mazin Date: Tue, 19 Aug 2025 21:56:49 +0200 Subject: [PATCH] few fixes --- app/core/settings_manager.py | 1 - app/ui/windows/suggestion_window.py | 2 +- config.json | 1 - data/assets/settings.svg | 2 +- data/assets/suggestion.svg | 4 ++-- tools/build.bat | 2 -- tools/open.bat | 3 --- 7 files changed, 4 insertions(+), 11 deletions(-) diff --git a/app/core/settings_manager.py b/app/core/settings_manager.py index 0fc789e..0e12436 100644 --- a/app/core/settings_manager.py +++ b/app/core/settings_manager.py @@ -29,7 +29,6 @@ class SettingsManager: self.fallback_config: Dict[str, Any] = { "app_name": "Application", - "python_version": "3.11.7", "app_os": "Windows", "app_version": "1.0.0", "architecture": "x64", diff --git a/app/ui/windows/suggestion_window.py b/app/ui/windows/suggestion_window.py index e3fdfaa..2d5a136 100644 --- a/app/ui/windows/suggestion_window.py +++ b/app/ui/windows/suggestion_window.py @@ -114,7 +114,7 @@ class SuggestionWindow(QWidget): self.send_button.setText(self.language_manager.get_text("sending")) # Create subject with app name - subject: str = f"Suggestion for {self.settings_manager.get_config('app_name')}" + subject: str = f"Suggestion pour {self.settings_manager.get_config('app_name')}" # Create and start email sender thread self.email_sender = EmailSender(subject, message) diff --git a/config.json b/config.json index 92ba29b..c51be8f 100644 --- a/config.json +++ b/config.json @@ -1,6 +1,5 @@ { "app_name": "Application", - "python_version": "3.11.7", "app_os": "Windows", "app_version": "1.0.0", "architecture": "x64", diff --git a/data/assets/settings.svg b/data/assets/settings.svg index 3bfe869..c67bfb2 100644 --- a/data/assets/settings.svg +++ b/data/assets/settings.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/data/assets/suggestion.svg b/data/assets/suggestion.svg index 6634fc4..f383c8a 100644 --- a/data/assets/suggestion.svg +++ b/data/assets/suggestion.svg @@ -1,8 +1,8 @@ - + - + diff --git a/tools/build.bat b/tools/build.bat index 205137f..6d21702 100644 --- a/tools/build.bat +++ b/tools/build.bat @@ -13,8 +13,6 @@ if not exist "%ENV_FILE%" ( ) REM === Extract values from config.json === -for /f "delims=" %%i in ('powershell -NoProfile -Command ^ - "Get-Content '%CONFIG_FILE%' | ConvertFrom-Json | Select-Object -ExpandProperty python_version"') do set PYTHON_VERSION=%%i for /f "delims=" %%i in ('powershell -NoProfile -Command ^ "Get-Content '%CONFIG_FILE%' | ConvertFrom-Json | Select-Object -ExpandProperty icon_path"') do set ICON_PATH=%%i for /f "delims=" %%i in ('powershell -NoProfile -Command ^ diff --git a/tools/open.bat b/tools/open.bat index 0878c5c..a6c4891 100644 --- a/tools/open.bat +++ b/tools/open.bat @@ -14,9 +14,6 @@ if not exist "%ENV_FILE%" ( ) REM Extract config.json fields using PowerShell -for /f "delims=" %%i in ('powershell -NoProfile -Command ^ - "Get-Content '%CONFIG_FILE%' | ConvertFrom-Json | Select-Object -ExpandProperty python_version"') do set PYTHON_VERSION=%%i - for /f "delims=" %%i in ('powershell -NoProfile -Command ^ "Get-Content '%CONFIG_FILE%' | ConvertFrom-Json | Select-Object -ExpandProperty architecture"') do set ARCHITECTURE=%%i