linux: add desktop entry file (#204)

This commit is contained in:
Kavish Devar
2025-09-23 10:12:37 +05:30
committed by GitHub
3 changed files with 12 additions and 0 deletions

View File

@@ -75,3 +75,5 @@ install(TARGETS librepods
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
install(FILES assets/me.kavishdevar.librepods.desktop
DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications")

View File

@@ -0,0 +1,9 @@
[Desktop Entry]
Version=1.0
Type=Application
Name=LibrePods
Comment=AirPods libreated from Apple's ecosystem
Exec=librepods
Icon=librepods
Terminal=false
Categories=Audio;AudioVideo;Utility;Qt;

View File

@@ -951,6 +951,7 @@ int main(int argc, char *argv[]) {
LOG_DEBUG("Socket error: " << socket.errorString());
}
}
app.setDesktopFileName("me.kavishdevar.librepods");
app.setQuitOnLastWindowClosed(false);
bool debugMode = false;