From fd34ca5a0f4492c4b280df8aa3d9d82154b5d9bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Thu, 17 Nov 2016 01:21:49 +0100 Subject: NOISSUE always run the ExtractNatives task during launch The task now checks the conditions, giving the update process time to supply all the metadata. --- api/logic/minecraft/legacy/LegacyInstance.cpp | 6 ------ api/logic/minecraft/legacy/LegacyInstance.h | 2 -- 2 files changed, 8 deletions(-) (limited to 'api/logic/minecraft/legacy') diff --git a/api/logic/minecraft/legacy/LegacyInstance.cpp b/api/logic/minecraft/legacy/LegacyInstance.cpp index 7ed2041c..f1132473 100644 --- a/api/logic/minecraft/legacy/LegacyInstance.cpp +++ b/api/logic/minecraft/legacy/LegacyInstance.cpp @@ -224,12 +224,6 @@ QStringList LegacyInstance::validLaunchMethods() return {"Legacy"}; } - -void LegacyInstance::cleanupAfterRun() -{ - // FIXME: delete the launcher and icons and whatnot. -} - std::shared_ptr LegacyInstance::coreModList() const { if (!core_mod_list) diff --git a/api/logic/minecraft/legacy/LegacyInstance.h b/api/logic/minecraft/legacy/LegacyInstance.h index 3db35fc9..2f30b0fd 100644 --- a/api/logic/minecraft/legacy/LegacyInstance.h +++ b/api/logic/minecraft/legacy/LegacyInstance.h @@ -117,8 +117,6 @@ public: virtual std::shared_ptr createJarModdingTask() override; virtual QString createLaunchScript(AuthSessionPtr session) override; - virtual void cleanupAfterRun() override; - virtual QString typeName() const override; bool canExport() const override -- cgit v1.2.3