Add scrcpy-console.desktop
Add a launcher which opens a terminal, and keep it open in case of
errors (so that the user has time to read error messages).
The behavior is the same as scrcpy-console.bat on Windows.
PR <https://github.com/Genymobile/scrcpy/pull/3351>
@@ -240,6 +240,8 @@ 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'))
+ install_data('data/scrcpy-console.desktop',
+ install_dir: join_paths(datadir, 'applications'))
endif
