Refactor configuration management: migrate to per-user storage, update encryption handling, and enhance versioning in CI

This commit is contained in:
SitiWeb
2026-01-23 17:17:25 +01:00
parent 43c5bdac8c
commit 428e3306a0
11 changed files with 570 additions and 279 deletions

View File

@@ -29,7 +29,6 @@ class AppController:
Args:
root (ctk.CTk): The root CustomTkinter window.
"""
key = b"u4xTBY5Ns4WYdLvqMjEr138mpMmDEhhqTszKCcDy2cI="
self.root = root
self.file = FileProcessor()
self.image = ImageProcessor()
@@ -46,7 +45,7 @@ class AppController:
self.background_color = "#000000"
self.image_format = "AUTO"
self.image_size = "contain"
self.config = ConfigEncryptor(key)
self.config = ConfigEncryptor()
self.type = None
self.destination_path = None
self.found_products = None
@@ -474,7 +473,6 @@ class AppController:
self.apply_canvas_size()
self.apply_background_color()
self.apply_image_size()
key = b"u4xTBY5Ns4WYdLvqMjEr138mpMmDEhhqTszKCcDy2cI="
self.config.save_options(self.get_options())
self.update_previews()