mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-20 03:25:03 +00:00
Desktop entry file for Linux app launchers Genymobile/scrcpy#295
See: https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html
This commit is contained in:
parent
b882322f73
commit
7ed5dd3503
2 changed files with 16 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
10
app/scrcpy.desktop
Normal file
10
app/scrcpy.desktop
Normal file
|
@ -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
|
Loading…
Add table
Reference in a new issue