Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ install(FILES DSView/icons/logo.svg DESTINATION share/icons/hicolor/scalable/app
install(FILES DSView/icons/logo.svg DESTINATION share/pixmaps RENAME dsview.svg)

if(CMAKE_SYSTEM_NAME MATCHES "Linux")
install(FILES DSView/DSView.desktop DESTINATION /usr/share/applications RENAME dsview.desktop)
install(FILES DSView/DSView.desktop DESTINATION share/applications RENAME dsview.desktop)

add_compile_definitions(_DEFAULT_SOURCE)

Expand Down
1 change: 1 addition & 0 deletions DSView/DSView.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ Comment=GUI Program for DreamSourceLab USB-based Instruments
TryExec=DSView
Exec=DSView
Icon=dsview
StartupWMClass=DSView
Terminal=false
Categories=Development;Electronics;Qt;
1 change: 1 addition & 0 deletions DSView/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ bool bHighScale = true;
QApplication::setApplicationName("DSView");
QApplication::setOrganizationName("DreamSourceLab");
QApplication::setOrganizationDomain("www.DreamSourceLab.com");
QApplication::setDesktopFileName("dsview");

//----------------------init log
dsv_log_init(); // Don't call before QApplication be inited
Expand Down