10 Commits
Author SHA1 Message Date
Yadciel e1a359071e fenster können erstellt werden 2024-12-14 00:37:16 +01:00
Yadciel 6cd4b0a608 Add JSON exposure and dynamic toolbox content reload
Implemented `SetJsonItems` to handle JSON serialization and expose toolbox items to JavaScript. Enhanced the webview with new JS-exposed functions and added frontend support for dynamic toolbox reloading.
2024-12-10 21:42:58 +01:00
Yadciel 639cd6a536 Add new command file for building executable
Introduce a new command file that streamlines the process of embedding resources and building the executable using PyInstaller. This file centralizes build commands, improving maintainability and reducing potential errors in manual execution.
2024-12-09 22:19:29 +01:00
Yadciel 5a2ddd031b Refactor to store Base64 data in a separate Python file
Moved Base64 strings for executable and icon into a dedicated Python module (base64_strings.py) instead of text files, enhancing code organization. Updated main.py to import Base64 strings from the new module. Also replaced placeholder program name 'DeinProgrammName' with 'Toolbox' throughout the installer scripts.
2024-12-09 22:09:51 +01:00
Yadciel cb6cbe4352 Improve Windows build config and reduce CPU load
Enable MinSizeRel builds to produce a Windows executable. Added a sleep interval in the focus monitor loop to decrease CPU usage during execution, improving performance efficiency.
2024-12-09 12:08:17 +01:00
Yadciel 8951e05ad3 Restrict WIN32 executable properties to Release builds.
Previously, the WIN32_EXECUTABLE property was set regardless of the build type. This change ensures the property is only applied during Release builds, which can reduce overhead and potential issues in Debug configurations.
2024-12-09 11:34:57 +01:00
Yadciel 543e2bae9c Add installer GUI and file system access feature
This commit introduces a new Tkinter-based GUI installer script (`installer/main.py`) that manages file extraction and shortcut creation. Additionally, a new file system access feature was added to the `ToolboxWindow` class, allowing users to open directories with platform-specific commands. Improvements also include platform-specific adjustments for Windows executables in the CMake configuration.
2024-12-09 11:08:40 +01:00
Yadciel 4fa4c6df6c Implement window hiding and tray icon functionality
Added methods to hide and show the Toolbox window and integrated a system tray icon with menu options, including window toggle and application quit functionality. Moved Lua script execution to occur after successful script loading. Introduced resource inclusion in the project files to support icon loading.
2024-12-07 23:07:55 +01:00
Yadciel 486094b540 V1-it Works 2024-12-06 23:09:15 +01:00
Yadciel c1f3ece454 Add card.html support to embedded resources
This commit includes `card.html` in the embedded files by updating the `all.hpp` file. It modifies the function to map and include the `card.html` resource. Additionally, `index.html` was updated to ensure the latest content is embedded.
2024-12-04 22:14:45 +01:00