e5e210506f
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 #3351 <https://github.com/Genymobile/scrcpy/pull/3351>
13 lines
509 B
Desktop File
13 lines
509 B
Desktop File
[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=false
|