summaryrefslogtreecommitdiffstats
path: root/games/multimc/files/patch-launcher_FileSystem.cpp
blob: 0543fae5b4412eb0ab0a19630bbefc88468b903a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- launcher/FileSystem.cpp.orig	2021-09-08 22:27:46 UTC
+++ launcher/FileSystem.cpp
@@ -403,7 +403,7 @@ QString getDesktopDir()
 bool createShortCut(QString location, QString dest, QStringList args, QString name,
                           QString icon)
 {
-#if defined Q_OS_LINUX
+#if defined Q_OS_LINUX || defined(Q_OS_FREEBSD)
     location = PathCombine(location, name + ".desktop");
 
     QFile f(location);