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.
This commit is contained in:
2024-12-09 11:08:40 +01:00
parent 4fa4c6df6c
commit 543e2bae9c
10 changed files with 269 additions and 19 deletions

View File

@@ -45,6 +45,12 @@ private:
std::thread m_threadMonitor;
std::atomic<bool> m_runningMonitor = true;
#ifdef _WIN32
std::filesystem::path userPath = std::getenv("USERPROFILE"); // Windows
#else
std::filesystem::path userPath = std::getenv("HOME"); // Unix/Linux/MacOS
#endif
void configureWindow();
void loadResources();
void runLuaScript();
@@ -60,4 +66,6 @@ private:
void run_lua(int id);
void monitor_focus();
void open_file_system();
};