Remove .desktop suffix from application ID
Signed-off-by: Echo J <tcg96nougat@gmail.com>
This commit is contained in:
parent
91ef9f4998
commit
ffdf1f746e
2 changed files with 2 additions and 4 deletions
|
@ -1587,9 +1587,7 @@ void MainWindow::on_actionCreateInstanceShortcut_triggered()
|
|||
if (desktopFilePath.isEmpty())
|
||||
return; // file dialog canceled by user
|
||||
appPath = "flatpak";
|
||||
QString flatpakAppId = BuildConfig.LAUNCHER_DESKTOPFILENAME;
|
||||
flatpakAppId.remove(".desktop");
|
||||
args.append({ "run", flatpakAppId });
|
||||
args.append({ "run", BuildConfig.LAUNCHER_DESKTOPFILENAME });
|
||||
}
|
||||
|
||||
#elif defined(Q_OS_WIN)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue