From 510cbcb8b44f61aa578c7d1321a1b5444e96b1c4 Mon Sep 17 00:00:00 2001 From: Lucas Schwiderski Date: Tue, 14 Nov 2023 16:19:07 +0100 Subject: [PATCH] Use version number from Nexus import Non-bundled mods come without a `dtmt.cfg`, and therefore without a version number. But we need a version number at import to compare to for the Nexus update check. --- crates/dtmm/src/controller/import.rs | 17 ++++++++++++----- lib/nexusmods/src/lib.rs | 2 +- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/crates/dtmm/src/controller/import.rs b/crates/dtmm/src/controller/import.rs index 05feba9..c5b5948 100644 --- a/crates/dtmm/src/controller/import.rs +++ b/crates/dtmm/src/controller/import.rs @@ -372,7 +372,7 @@ pub(crate) async fn import_mod(state: ActionState, info: FileInfo) -> Result Result Result Result Result Result