From 6fd18a5cceb21f547fb95398215d9d30aeef0249 Mon Sep 17 00:00:00 2001 From: Petr Mrázek Date: Sun, 31 May 2015 21:45:28 +0200 Subject: GH-1016 print list of mods, coremods and jarmods Includes a change to jar mods, where they gain an 'originalName' attribute used only for display --- logic/minecraft/OneSixProfileStrategy.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'logic/minecraft/OneSixProfileStrategy.cpp') diff --git a/logic/minecraft/OneSixProfileStrategy.cpp b/logic/minecraft/OneSixProfileStrategy.cpp index e0ee4c21..173cd4d6 100644 --- a/logic/minecraft/OneSixProfileStrategy.cpp +++ b/logic/minecraft/OneSixProfileStrategy.cpp @@ -368,6 +368,7 @@ bool OneSixProfileStrategy::installJarMods(QStringList filepaths) auto f = std::make_shared(); auto jarMod = std::make_shared(); jarMod->name = target_filename; + jarMod->originalName = sourceInfo.completeBaseName(); f->jarMods.append(jarMod); f->name = target_name; f->fileId = target_id; -- cgit