aboutsummaryrefslogtreecommitdiff
path: root/libs/nak_ffi/src
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-02-20 23:53:26 -0600
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-02-20 23:53:26 -0600
commitd22d8c267b012729b6b84142def2a30ca4691d7a (patch)
tree4d04382b6c9a44fa72ade906e0bf51e8f97855a8 /libs/nak_ffi/src
parent5467e210668eb24de9a4429ef0ddcbc6442e8932 (diff)
Fix AppImage plugin loading, save timestamps, and INI corruption
- Add AppConfig::pluginsPath()/dllsPath() that respect MO2_PLUGINS_DIR and MO2_DLLS_DIR env vars, fixing plugin discovery when plugins live inside read-only AppImage squashfs (#22, game plugin not found errors) - Preserve file modification times in save deploy/sync so games display correct save timestamps instead of all showing the same time (#17) - Replace QSettings INI reader in saves tab with direct line-by-line parser to avoid backslash-as-line-continuation corruption of sLocalSavePath=__MO_Saves\ (#22, saves tab showing wrong directory) - Add diagnostic logging to plugin symlink creation, save backup/restore operations to help diagnose silent failures through prefix symlinks - Fix Python SONAME mismatch in AppImage build (patch portable Python SONAME to match librunner.so DT_NEEDED, preventing dual libpython load) - Bundle PyQt6 Qt dependencies, improve RPATH for lib/ and plugins/ Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'libs/nak_ffi/src')
-rw-r--r--libs/nak_ffi/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/nak_ffi/src/lib.rs b/libs/nak_ffi/src/lib.rs
index fe18cf3..65592fa 100644
--- a/libs/nak_ffi/src/lib.rs
+++ b/libs/nak_ffi/src/lib.rs
@@ -212,6 +212,7 @@ pub struct NakKnownGame {
pub name: *const c_char,
pub steam_app_id: *const c_char,
pub gog_app_id: *const c_char, // null if none
+ pub epic_app_id: *const c_char, // null if none
pub my_games_folder: *const c_char,
pub appdata_local_folder: *const c_char,
pub appdata_roaming_folder: *const c_char,
@@ -236,6 +237,7 @@ static KNOWN_GAMES_FFI: std::sync::LazyLock<KnownGamesVec> = std::sync::LazyLock
name: leak_str(kg.name),
steam_app_id: leak_str(kg.steam_app_id),
gog_app_id: leak_str_opt(kg.gog_app_id),
+ epic_app_id: leak_str_opt(kg.epic_app_id),
my_games_folder: leak_str_opt(kg.my_games_folder),
appdata_local_folder: leak_str_opt(kg.appdata_local_folder),
appdata_roaming_folder: leak_str_opt(kg.appdata_roaming_folder),