From 01abc6994d9a477904af3fdf326ee2fc7163b3e1 Mon Sep 17 00:00:00 2001 From: SulfurNitride Date: Fri, 10 Apr 2026 05:03:45 -0500 Subject: Add BethINI Pie tool plugin Native IPluginTool that integrates BethINI Pie (performance INI editor) into the Tools menu. Auto-downloads the latest Linux build from GitHub releases, checks for updates via commit SHA, and pre-configures it for the current game and profile INI directory. Supports: Skyrim SE, Fallout 4, Fallout New Vegas, Starfield. Includes post-extraction fixes for PyInstaller bundle quirks: - Patches tm.tcl hardcoded Tcl module path - Symlinks apps/icons/fonts from _internal/ to executable directory - Sets TCL_LIBRARY/TK_LIBRARY env vars on launch Co-Authored-By: Claude Opus 4.6 (1M context) --- libs/tool_bethinipie/src/CMakeLists.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 libs/tool_bethinipie/src/CMakeLists.txt (limited to 'libs/tool_bethinipie/src/CMakeLists.txt') diff --git a/libs/tool_bethinipie/src/CMakeLists.txt b/libs/tool_bethinipie/src/CMakeLists.txt new file mode 100644 index 0000000..df2b046 --- /dev/null +++ b/libs/tool_bethinipie/src/CMakeLists.txt @@ -0,0 +1,12 @@ +cmake_minimum_required(VERSION 3.16) + +file(GLOB bethinipie_SOURCES CONFIGURE_DEPENDS + ${CMAKE_CURRENT_SOURCE_DIR}/*.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/*.h + ${CMAKE_CURRENT_SOURCE_DIR}/*.qrc +) + +add_library(tool_bethinipie SHARED ${bethinipie_SOURCES}) +mo2_configure_plugin(tool_bethinipie NO_SOURCES WARNINGS 4) +target_link_libraries(tool_bethinipie PRIVATE mo2::uibase) +mo2_install_plugin(tool_bethinipie) -- cgit v1.3.1