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:
@@ -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();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user