mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-10-03 08:41:42 +00:00
NOISSUE shortcut creation: add comments and todo
This commit is contained in:
@@ -41,6 +41,8 @@ CreateShortcutDialog::CreateShortcutDialog(QWidget *parent, InstancePtr instance
|
|||||||
ui->profileComboBox->setCurrentText(accounts->defaultAccount()->profileName());
|
ui->profileComboBox->setCurrentText(accounts->defaultAccount()->profileName());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// check if instance is affected by a bug causing it to crash when trying to join a server on launch
|
||||||
|
// TODO: implement this check in meta
|
||||||
if (m_instance->typeName() == "Minecraft")
|
if (m_instance->typeName() == "Minecraft")
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
@@ -64,6 +66,7 @@ CreateShortcutDialog::CreateShortcutDialog(QWidget *parent, InstancePtr instance
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Macs don't have any concept of a desktop shortcut, so force-enable the option to generate a shell script instead
|
||||||
#if defined(Q_OS_UNIX) && !defined(Q_OS_LINUX)
|
#if defined(Q_OS_UNIX) && !defined(Q_OS_LINUX)
|
||||||
ui->createScriptCheckBox->setEnabled(false);
|
ui->createScriptCheckBox->setEnabled(false);
|
||||||
ui->createScriptCheckBox->setChecked(true);
|
ui->createScriptCheckBox->setChecked(true);
|
||||||
|
Reference in New Issue
Block a user