We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 519232d commit 805d4c7Copy full SHA for 805d4c7
base/applications/rapps/geninst.cpp
@@ -33,6 +33,7 @@ extern "C" {
33
#define DB_GENINST_DIR L"Dir"
34
#define DB_GENINST_ICON L"Icon"
35
#define DB_GENINST_LNK L"Lnk"
36
+#define DB_GENINST_LNKARGS L"LnkParameters"
37
#define DB_GENINST_DELFILE L"DelFile" // Delete files generated by the application
38
#define DB_GENINST_DELDIR L"DelDir"
39
#define DB_GENINST_DELDIREMPTY L"DelDirEmpty"
@@ -325,6 +326,9 @@ CreateMainShortcut(const CStringW &Target)
325
326
SplitFileAndDirectory(Target, &tmp);
327
link->SetWorkingDirectory(tmp);
328
329
+ if (*GetGenerateString(DB_GENINST_LNKARGS, tmp))
330
+ link->SetArguments(tmp);
331
+
332
if (SUCCEEDED(GetCustomIconPath(Info, tmp)))
333
{
334
LPWSTR p = tmp.GetBuffer();
0 commit comments