Skip to content

Commit

Permalink
Use CLIFP_PATH over CLIFP_DIR_PATH + CLIFP_CUR_APP_FILENAME
Browse files Browse the repository at this point in the history
  • Loading branch information
oblivioncth committed Oct 25, 2023
1 parent 2f1bb6d commit 8a35677
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/src/command/c-link_linux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Qx::Error CLink::createShortcut(const QString& name, const QDir& dir, QUuid id)
ade.setName(name);
ade.setIcon(PROJECT_SHORT_NAME);
QString args = CPlay::NAME + u" -"_s + TitleCommand::CL_OPTION_ID.names().constFirst() + ' ' + id.toString(QUuid::WithoutBraces);
ade.setExec(CLIFP_DIR_PATH + '/' + CLIFP_CUR_APP_FILENAME + ' ' + args);
ade.setExec(CLIFP_PATH + ' ' + args);
ade.setPath(CLIFP_DIR_PATH);
ade.setComment(u"Generated by "_s PROJECT_SHORT_NAME " " PROJECT_VERSION_STR);

Expand Down
2 changes: 1 addition & 1 deletion app/src/command/c-link_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Qx::Error CLink::createShortcut(const QString& name, const QDir& dir, QUuid id)
{
// Create shortcut properties
Qx::ShortcutProperties sp;
sp.target = CLIFP_DIR_PATH + '/' + CLIFP_CUR_APP_FILENAME;
sp.target = CLIFP_PATH;
sp.targetArgs = CPlay::NAME + u" -"_s + TitleCommand::CL_OPTION_ID.names().constFirst() + ' ' + id.toString(QUuid::WithoutBraces);
sp.comment = name;

Expand Down

0 comments on commit 8a35677

Please sign in to comment.