Skip to content

Commit

Permalink
Desktop entry file for Linux app launchers Genymobile#295
Browse files Browse the repository at this point in the history
  • Loading branch information
asnelling committed Oct 14, 2018
1 parent b882322 commit 7ed5dd3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,12 @@ endif

executable('scrcpy', src, dependencies: dependencies, include_directories: src_dir, install: true, c_args: c_args, link_args: link_args)

# Desktop entry file for application launchers
if host_machine.system() == 'linux'
# -> /usr/share/applications/scrcpy.desktop
install_data('scrcpy.desktop', install_dir : join_paths(get_option('datadir'), 'applications'))
endif


### TESTS

Expand Down
10 changes: 10 additions & 0 deletions app/scrcpy.desktop
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
[Desktop Entry]
Name=scrcpy
GenericName=Android Remote Control
Comment=Display and control your Android device
Exec=scrcpy
Icon=gparted
Terminal=false
Type=Application
Categories=Utility;RemoteAccess;
StartupNotify=false

0 comments on commit 7ed5dd3

Please sign in to comment.