Display and control your Android device
Add scrcpy-console.desktop
Romain Vimonte5e210506f62
diff --git a/app/data/scrcpy-console.desktop b/app/data/scrcpy-console.desktopnew file mode 100644index 00000000..47a63ec9--- /dev/null+++ b/app/data/scrcpy-console.desktop@@ -0,0 +1,13 @@+[Desktop Entry]+Name=scrcpy (console)+GenericName=Android Remote Control+Comment=Display and control your Android device+# For some users, the PATH or ADB environment variables are set from the shell+# startup file, like .bashrc or .zshrc… Run an interactive shell to get+# environment correctly initialized.+Exec=/bin/bash --norc --noprofile -i -c '"$SHELL" -i -c scrcpy || read -p "Press any key to quit..."'+Icon=scrcpy+Terminal=true+Type=Application+Categories=Utility;RemoteAccess;+StartupNotify=falsediff --git a/app/meson.build b/app/meson.buildindex 0551011e..fd5418e3 100644--- a/app/meson.build+++ b/app/meson.build@@ -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