mirror of
https://github.com/Genymobile/scrcpy.git
synced 2025-04-22 04:25:01 +00:00
Use shell environment to execute launcher
Make Exec= compatible with $PATH configured in .bashrc/ or .zshrc/… PR #3351 <https://github.com/Genymobile/scrcpy/pull/3351> Refs #296 <https://github.com/Genymobile/scrcpy/pull/296#discussion_r224987002> Signed-off-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
parent
08d5a27378
commit
bdc32bd79b
1 changed files with 3 additions and 1 deletions
|
@ -2,7 +2,9 @@
|
|||
Name=scrcpy
|
||||
GenericName=Android Remote Control
|
||||
Comment=Display and control your Android device
|
||||
Exec=scrcpy
|
||||
# For some users, `adb` is not in default $PATH but the one configured in .bashrc/ or .zshrc/...
|
||||
# Run an interactive shell to get the same path used in terminals.
|
||||
Exec=/bin/sh -c '"$SHELL" -i -c scrcpy'
|
||||
Icon=scrcpy
|
||||
Terminal=false
|
||||
Type=Application
|
||||
|
|
Loading…
Add table
Reference in a new issue