]> Nutra Git (v1) - gamesguru/feather.git/commitdiff
utils: fix create desktop file
authortobtoht <tob@featherwallet.org>
Mon, 6 Feb 2023 12:27:31 +0000 (13:27 +0100)
committertobtoht <tob@featherwallet.org>
Mon, 6 Feb 2023 12:27:31 +0000 (13:27 +0100)
src/utils/Utils.cpp

index 36a505ea188e7990275a7956d464613a55ce2107..6555d121f2a24a5250a2abed8668bdfa966645b7 100644 (file)
@@ -235,14 +235,14 @@ QString xdgDesktopEntry(){
             "Name=Feather\n"
             "GenericName=Feather\n"
             "X-GNOME-FullName=Feather\n"
-            "Comment=a free Monero desktop wallet\n"
+            "Comment=a free, open source Monero desktop wallet\n"
             "Keywords=Monero;\n"
             "Exec=\"%1\" %u\n"
             "Terminal=false\n"
             "Type=Application\n"
-            "Icon=monero\n"
+            "Icon=feather\n"
             "Categories=Network;GNOME;Qt;\n"
-            "StartupNotify=true\n"
+            "StartupNotify=false\n"
     ).arg(QApplication::applicationFilePath());
 }
 
@@ -273,7 +273,7 @@ bool xdgDesktopEntryRegister() {
     if (!fileExists(pathIcon)) {
         pixmapWrite(pathIcon, appIcon);
     }
-    xdgDesktopEntryWrite(QStandardPaths::writableLocation(QStandardPaths::ApplicationsLocation));
+    xdgDesktopEntryWrite(QStandardPaths::writableLocation(QStandardPaths::ApplicationsLocation) + "/feather-wallet.desktop");
 
     xdgRefreshApplications();
     return true;