mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-30 02:20:00 +03:00
fix: fix creating instance shortcuts in flatpak
Signed-off-by: leo78913 <leo3758@riseup.net>
This commit is contained in:
parent
5ae044db93
commit
37ad1b40d8
2 changed files with 19 additions and 6 deletions
|
|
@ -372,8 +372,6 @@ bool createShortcut(QString destination, QString target, QStringList args, QStri
|
|||
|
||||
return true;
|
||||
#elif defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) || defined(Q_OS_OPENBSD)
|
||||
destination += ".desktop";
|
||||
|
||||
QFile f(destination);
|
||||
f.open(QIODevice::WriteOnly | QIODevice::Text);
|
||||
QTextStream stream(&f);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue