mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-24 09:58:46 +00:00
Changed: Create shortcut to installer, see #279
This commit is contained in:
parent
645491d417
commit
99e2bddb19
1 changed files with 9 additions and 2 deletions
|
@ -752,9 +752,16 @@ void COperationDialog::copyInstaller()
|
|||
// create installer link in menu
|
||||
QString executable = newInstallerFullPath;
|
||||
QString shortcut = config->getInstallerMenuLinkFullPath();
|
||||
QString desc = "Ryzom Installer";
|
||||
QString name = "Ryzom Installer";
|
||||
QString icon;
|
||||
|
||||
createLink(executable, shortcut, "", "", desc);
|
||||
#ifdef Q_OS_WIN32
|
||||
icon = executable;
|
||||
#else
|
||||
// TODO: Linux icon
|
||||
#endif
|
||||
|
||||
createLink(shortcut, name, executable, "", icon, "");
|
||||
}
|
||||
|
||||
emit done();
|
||||
|
|
Loading…
Reference in a new issue