mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-18 18:07:14 +00:00
SCRATCH move icons over to Env, instance proxy model to gui
This commit is contained in:
@@ -127,7 +127,7 @@ std::shared_ptr<Task> LegacyInstance::doUpdate()
|
||||
BaseProcess *LegacyInstance::prepareForLaunch(AuthSessionPtr account)
|
||||
{
|
||||
QString launchScript;
|
||||
QIcon icon = MMC->icons()->getIcon(iconKey());
|
||||
QIcon icon = ENV.icons()->getIcon(iconKey());
|
||||
auto pixmap = icon.pixmap(128, 128);
|
||||
pixmap.save(PathCombine(minecraftRoot(), "icon.png"), "PNG");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user