ssl fix and remove ssl key and userfiles works

This commit is contained in:
2025-06-24 15:04:32 +02:00
parent ed269af1d2
commit e824094556
3 changed files with 50 additions and 3 deletions

View File

@ -2,7 +2,39 @@ Changelog for LXTools installer
## [Unreleased] ## [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 ### Added
18-06-2025 18-06-2025

View File

@ -80,6 +80,12 @@ class InstallationManager:
if detected_os == "Arch Linux": if detected_os == "Arch Linux":
result_unzip = Detector.get_unzip() result_unzip = Detector.get_unzip()
result_wget = Detector.get_wget() 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""" """Create Wire-Py installation script"""
script = f"""#!/bin/bash script = f"""#!/bin/bash
set -e set -e
@ -93,6 +99,10 @@ if [ "{detected_os}" = "Arch Linux" ]; then
if [ "{result_wget}" = "False" ]; then if [ "{result_wget}" = "False" ]; then
pacman -S --noconfirm wget pacman -S --noconfirm wget
fi fi
if [ "{result_requests}" = "False" ]; then
pacman -S --noconfirm python-requests
fi
fi fi
{LXToolsAppConfig.TKINTER_INSTALL_COMMANDS[detected_os]} 2>&1 | grep -v "apt does not have a stable CLI interface" {LXToolsAppConfig.TKINTER_INSTALL_COMMANDS[detected_os]} 2>&1 | grep -v "apt does not have a stable CLI interface"
# Create necessary directories # Create necessary directories
@ -216,7 +226,10 @@ echo "Wire-Py installation completed!"
result_unzip = Detector.get_unzip() result_unzip = Detector.get_unzip()
result_wget = Detector.get_wget() result_wget = Detector.get_wget()
result_requests = Detector.get_requests() result_requests = Detector.get_requests()
else:
result_unzip = None
result_wget = None
result_requests = None
"""Create LogViewer installation script""" """Create LogViewer installation script"""
script = f"""#!/bin/bash script = f"""#!/bin/bash
set -e set -e
@ -1282,6 +1295,7 @@ class LXToolsGUI:
MessageDialog( MessageDialog(
"info", "info",
f"{project_info["name"]} {LocaleStrings.MSGM["has_success_update"]}", f"{project_info["name"]} {LocaleStrings.MSGM["has_success_update"]}",
wraplength=400,
) )
self.refresh_status() self.refresh_status()
@ -1313,6 +1327,7 @@ class LXToolsGUI:
MessageDialog( MessageDialog(
"info", "info",
f"{project_info["name"]} {LocaleStrings.MSGU["uninstall_success"]}", f"{project_info["name"]} {LocaleStrings.MSGU["uninstall_success"]}",
wraplength=400,
) )
self.refresh_status() self.refresh_status()

View File

@ -476,7 +476,7 @@ class LXToolsAppConfig:
pass pass
return gettext.gettext return gettext.gettext
VERSION = "1.1.5" VERSION = "1.1.6"
APP_NAME = "lxtoolsinstaller" APP_NAME = "lxtoolsinstaller"
WINDOW_WIDTH = 450 WINDOW_WIDTH = 450
WINDOW_HEIGHT = 580 WINDOW_HEIGHT = 580