From 5467e210668eb24de9a4429ef0ddcbc6442e8932 Mon Sep 17 00:00:00 2001 From: SulfurNitride Date: Thu, 19 Feb 2026 17:25:48 -0600 Subject: Add Python init diagnostics, AppImage build system, misc Linux fixes MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - python: switch Py_InitializeEx → Py_InitializeFromConfig for explicit error reporting; add dladdr + fprintf diagnostics to trace which DSO Python symbols resolve to and whether Py_IsInitialized succeeds - python: log RTLD_NOLOAD vs fresh-load outcome when promoting libpython to RTLD_GLOBAL - build: add Docker-based AppImage build script (build.sh), update Dockerfile and build-inner.sh for AppImage-only workflow - build: remove Flatpak support entirely; move AppImage metadata (desktop/metainfo/icon) from flatpak/ to data/ - Add Monster Hunter Wilds basic_games plugin - .gitignore: exclude squashfs-root, build-source, flatpak-repo, __pycache__, fomod-plus-settings.ini - Various Linux port fixes across wineprefix, processrunner, proton launcher, FUSE connector, instance manager, download manager, sanitychecks, and NaK Rust paths/runtime_wrap Co-Authored-By: Claude Sonnet 4.6 --- libs/installer_fomod_plus/installer/FomodPlusInstaller.cpp | 2 -- libs/installer_fomod_plus/installer/lib/Logger.h | 2 -- libs/installer_fomod_plus/installer/ui/UIHelper.cpp | 1 - libs/installer_fomod_plus/patchwizard/lib/PatchFinder.cpp | 1 - libs/installer_fomod_plus/scanner/archiveparser.h | 1 - libs/installer_fomod_plus/share/FOMODData/FomodDB.h | 2 -- 6 files changed, 9 deletions(-) (limited to 'libs/installer_fomod_plus') diff --git a/libs/installer_fomod_plus/installer/FomodPlusInstaller.cpp b/libs/installer_fomod_plus/installer/FomodPlusInstaller.cpp index 690bdbb..c748495 100644 --- a/libs/installer_fomod_plus/installer/FomodPlusInstaller.cpp +++ b/libs/installer_fomod_plus/installer/FomodPlusInstaller.cpp @@ -34,8 +34,6 @@ bool FomodPlusInstaller::init(IOrganizer* organizer) mOrganizer = organizer; mFomodContent = make_shared(organizer); log.setLogFilePath(QDir::currentPath().toStdString() + "/logs/fomodplus.log"); - std::cout << "QDir::currentPath(): " << QDir::currentPath().toStdString() << std::endl; - std::cout << "mOrganizer->basePath() : " << mOrganizer->basePath().toStdString() << std::endl; // REMEMBER: This mFomodDB persists beyond the scope of an individual install. Do not do anything nasty to it. mFomodDb = std::make_unique(mOrganizer->basePath().toStdString()); diff --git a/libs/installer_fomod_plus/installer/lib/Logger.h b/libs/installer_fomod_plus/installer/lib/Logger.h index fdeb1f0..53fb7d9 100644 --- a/libs/installer_fomod_plus/installer/lib/Logger.h +++ b/libs/installer_fomod_plus/installer/lib/Logger.h @@ -90,8 +90,6 @@ public: if (mLogFile.is_open()) { writeLog(mLogFile); } - - writeLog(std::cout); } Logger& operator=(const Logger&) = delete; diff --git a/libs/installer_fomod_plus/installer/ui/UIHelper.cpp b/libs/installer_fomod_plus/installer/ui/UIHelper.cpp index 56aff85..5f34e5d 100644 --- a/libs/installer_fomod_plus/installer/ui/UIHelper.cpp +++ b/libs/installer_fomod_plus/installer/ui/UIHelper.cpp @@ -27,7 +27,6 @@ bool CtrlClickEventFilter::eventFilter(QObject* obj, QEvent* event) if (mouseEvent->button() == Qt::LeftButton && mouseEvent->modifiers() & Qt::ControlModifier) { // TODO: Add Ctrl+click handler logic here - std::cout << "Ctrl+click detected on plugin: " << mPlugin->getName() << " in group: " << mGroup->getName() << std::endl; // For now, just fall through to default behavior } } diff --git a/libs/installer_fomod_plus/patchwizard/lib/PatchFinder.cpp b/libs/installer_fomod_plus/patchwizard/lib/PatchFinder.cpp index cd06b3a..855fe2b 100644 --- a/libs/installer_fomod_plus/patchwizard/lib/PatchFinder.cpp +++ b/libs/installer_fomod_plus/patchwizard/lib/PatchFinder.cpp @@ -77,7 +77,6 @@ void PatchFinder::populateInstalledPlugins() const auto mod_tree = mod->fileTree(); for (auto it = mod_tree->begin(); it != mod_tree->end(); ++it) { if ((*it)->isFile() && isPluginFile((*it)->name())) { - std::cout << "Plugin: " << (*it)->name().toStdString() << std::endl; m_installedPlugins[mod].emplace_back((*it)->name().toStdString()); m_installedPluginsCacheSet.insert((*it)->name().toStdString()); } diff --git a/libs/installer_fomod_plus/scanner/archiveparser.h b/libs/installer_fomod_plus/scanner/archiveparser.h index 4058d43..8819a84 100644 --- a/libs/installer_fomod_plus/scanner/archiveparser.h +++ b/libs/installer_fomod_plus/scanner/archiveparser.h @@ -83,7 +83,6 @@ public: } if (hasFomodFiles(archive->getFileList())) { - std::cout << "Found FOMOD files in " << qualifiedInstallerPath.toStdString() << std::endl; return ScanResult::HAS_FOMOD; } return ScanResult::NO_FOMOD; diff --git a/libs/installer_fomod_plus/share/FOMODData/FomodDB.h b/libs/installer_fomod_plus/share/FOMODData/FomodDB.h index d1a9aa2..f5ea6f5 100644 --- a/libs/installer_fomod_plus/share/FOMODData/FomodDB.h +++ b/libs/installer_fomod_plus/share/FOMODData/FomodDB.h @@ -33,8 +33,6 @@ public: for (const auto &group: installStep.optionalFileGroups.groups) { for (const auto &plugin: group.plugins.plugins) { // Create a DB entry for the given plugin if it has an ESP - std::cout << "\nPlugin: " << plugin.name << std::endl; - for (auto file: plugin.files.files) { if (file.isFolder || !isPluginFile(file.source)) { continue; -- cgit v1.3.1