Fix Shortcut

This commit is contained in:
DanielSvoboda 2024-11-23 23:20:08 -03:00 committed by GitHub
parent d7d28aa8da
commit 2226ca1bb2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -451,7 +451,7 @@ private:
pShellLink->SetWorkingDirectory((LPCWSTR)QFileInfo(exePath).absolutePath().utf16()); pShellLink->SetWorkingDirectory((LPCWSTR)QFileInfo(exePath).absolutePath().utf16());
// Set arguments, eboot.bin file location // Set arguments, eboot.bin file location
QString arguments = QString("\"%1\"").arg(targetPath); QString arguments = QString("-g \"%1\"").arg(targetPath);
pShellLink->SetArguments((LPCWSTR)arguments.utf16()); pShellLink->SetArguments((LPCWSTR)arguments.utf16());
// Set the icon for the shortcut // Set the icon for the shortcut