zjn0505/adb-alfred

Scrcpy not working

Glennmen opened this issue · 5 comments

I recently installed this workflow. So far so good, only thing missing is scrcpy even though I have it installed and working using terminal.

Hi, thanks for the issue. Can you help to elaborate the issue a bit more?

From my understanding you can use the rest of adb workflow functions like list packages on device, but cannot start scrcpy with the connected device.

Does it show the row of "Screen Copy with scrcpy" after select the device in the workflow? If not then it might be scrcpy not correctly detected in the workflow.

image

/usr/local/bin/scrcpy -v

This is the command to detect scrcpy installation.

If this step is o.k. then does it failed to start a terminal to execute scrcpy commands?

When select this row in the screenshot, it shall open a terminal and run the following command

scrcpy -s {device_serial} -m 0

Ok I see you use a fixed path for scrcpy, that is the problem.
I installed scrcpy using Homebrew so my path is different.
CleanShot 2022-04-15 at 09 26 49@2x

I also installed scrcpy with homebrew, the different should be you have a m1 chip mac.

I will try to fix it and update soon.

Please help to check v1.13.1 (release)

Thanks for the fast fix! This version solved it.