aboutsummaryrefslogtreecommitdiff
path: root/launcher/FileSystem.cpp
diff options
context:
space:
mode:
authorleo78913 <leo3758@riseup.net>2022-12-08 10:46:58 -0300
committerleo78913 <leo3758@riseup.net>2022-12-08 20:18:07 -0300
commit37ad1b40d8fc86d746ce89219846582ec641f1e6 (patch)
tree10635db55309615c0bf5174d8386c8764cbefaa9 /launcher/FileSystem.cpp
parent5ae044db93373e20add854e3be48e59e6c38421b (diff)
downloadPrismLauncher-37ad1b40d8fc86d746ce89219846582ec641f1e6.tar.gz
PrismLauncher-37ad1b40d8fc86d746ce89219846582ec641f1e6.tar.bz2
PrismLauncher-37ad1b40d8fc86d746ce89219846582ec641f1e6.zip
fix: fix creating instance shortcuts in flatpak
Signed-off-by: leo78913 <leo3758@riseup.net>
Diffstat (limited to 'launcher/FileSystem.cpp')
-rw-r--r--launcher/FileSystem.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/launcher/FileSystem.cpp b/launcher/FileSystem.cpp
index 1da50e21..3e8e10a5 100644
--- a/launcher/FileSystem.cpp
+++ b/launcher/FileSystem.cpp
@@ -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);