mirror of
https://github.com/wownero/wowlet.git
synced 2026-10-21 17:18:43 +02:00
utils: fix create desktop file
This commit is contained in:
+4
-4
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user