From e8240945561dec00a8ee5b022e7b0c0b2b55cde3 Mon Sep 17 00:00:00 2001 From: punix Date: Tue, 24 Jun 2025 15:04:32 +0200 Subject: [PATCH] ssl fix and remove ssl key and userfiles works --- Changelog | 34 +++++++++++++++++++++++++++++++++- lxtools_installer.py | 17 ++++++++++++++++- manager.py | 2 +- 3 files changed, 50 insertions(+), 3 deletions(-) diff --git a/Changelog b/Changelog index e420496..c1e20ba 100644 --- a/Changelog +++ b/Changelog @@ -2,7 +2,39 @@ Changelog for LXTools installer ## [Unreleased] - - replace pack with grid + - language set auto detection + + - + + ### Added +23-06-2025 + +- Add unzip check, requests check, wget check for Arch Linux + +- fix remove config dirs and logfile and ssl privatkey on uninstall + +- method the number of users of the system is extended + for information message when a program is uninstalled + and there are more than one user on the system. + + + ### Added +22-06-2025 + +- ssl certificate integrate in Appinstaller + +- Installer now takes into account the current python + version ud the respective recognized system to run with + it on all supported systems. + + ### Added +21-06-2025 + +- extract now files needed in the work directory Theme, Icons and translation + +- if python is not found, it displays this in red in the header, + with new get_python_version method + ### Added 18-06-2025 diff --git a/lxtools_installer.py b/lxtools_installer.py index 1986ae8..2935061 100755 --- a/lxtools_installer.py +++ b/lxtools_installer.py @@ -80,6 +80,12 @@ class InstallationManager: if detected_os == "Arch Linux": result_unzip = Detector.get_unzip() result_wget = Detector.get_wget() + result_requests = Detector.get_requests() + else: + result_unzip = None + result_wget = None + result_requests = None + """Create Wire-Py installation script""" script = f"""#!/bin/bash set -e @@ -93,6 +99,10 @@ if [ "{detected_os}" = "Arch Linux" ]; then if [ "{result_wget}" = "False" ]; then pacman -S --noconfirm wget fi + + if [ "{result_requests}" = "False" ]; then + pacman -S --noconfirm python-requests + fi fi {LXToolsAppConfig.TKINTER_INSTALL_COMMANDS[detected_os]} 2>&1 | grep -v "apt does not have a stable CLI interface" # Create necessary directories @@ -216,7 +226,10 @@ echo "Wire-Py installation completed!" result_unzip = Detector.get_unzip() result_wget = Detector.get_wget() result_requests = Detector.get_requests() - + else: + result_unzip = None + result_wget = None + result_requests = None """Create LogViewer installation script""" script = f"""#!/bin/bash set -e @@ -1282,6 +1295,7 @@ class LXToolsGUI: MessageDialog( "info", f"{project_info["name"]} {LocaleStrings.MSGM["has_success_update"]}", + wraplength=400, ) self.refresh_status() @@ -1313,6 +1327,7 @@ class LXToolsGUI: MessageDialog( "info", f"{project_info["name"]} {LocaleStrings.MSGU["uninstall_success"]}", + wraplength=400, ) self.refresh_status() diff --git a/manager.py b/manager.py index 3e3d3da..b1075b4 100644 --- a/manager.py +++ b/manager.py @@ -476,7 +476,7 @@ class LXToolsAppConfig: pass return gettext.gettext - VERSION = "1.1.5" + VERSION = "1.1.6" APP_NAME = "lxtoolsinstaller" WINDOW_WIDTH = 450 WINDOW_HEIGHT = 580