Addison Snelling 2018-10-14 03:50:35 -05:00 committed by Romain Vimont
parent c1ec1d1023
commit 51a1762cbd
2 changed files with 17 additions and 0 deletions

10
app/data/scrcpy.desktop Normal file
View File

@ -0,0 +1,10 @@
[Desktop Entry]
Name=scrcpy
GenericName=Android Remote Control
Comment=Display and control your Android device
Exec=scrcpy
Icon=scrcpy
Terminal=false
Type=Application
Categories=Utility;RemoteAccess;
StartupNotify=false

View File

@ -235,6 +235,13 @@ install_data('data/zsh-completion/_scrcpy',
install_data('data/bash-completion/scrcpy',
install_dir: join_paths(datadir, 'bash-completion/completions'))
# Desktop entry file for application launchers
if host_machine.system() == 'linux'
# Install a launcher (ex: /usr/local/share/applications/scrcpy.desktop)
install_data('data/scrcpy.desktop',
install_dir: join_paths(datadir, 'applications'))
endif
### TESTS