scrcpy icon indicating copy to clipboard operation
scrcpy copied to clipboard

build appimage for scrcpy using github actions

Open aditya24raj opened this issue 2 years ago • 4 comments

i was trying use --otg option but could not as packages were outdated on ubuntu 21.10. scrcpy packages are outdated on most of the linux distributions. creating an appimage can provide latest packages, without having users to compile from source.

this PR creates appimage on push or pull request to main branch and appimage is uploaded as an artifact. it would be helpful if i can get any suggestion to improve this workflow.

aditya24raj avatar Mar 10 '22 09:03 aditya24raj

Thank you :+1:

I'm don't really know AppImage, so I have some questions (inline).

rom1v avatar Mar 10 '22 09:03 rom1v

welcome @rom1v 😃

please go ahead. i will try my best to answer them.

aditya24raj avatar Mar 10 '22 13:03 aditya24raj

@aditya24raj I'd working on an AppImage for a completely different project due to personal needs. I believe AppImageBuilder would be one of the best options here to execute the job. AppImageBuilder.zip

I'm also attaching here the dockerfile I built (you don't need most of it but some is useful) and the AppImageBuilder.yml that is used in the docker container (in the same zip file). AppImageBuilder.zip

@rom1v With AppImage, as long as you package correctly, the only dependency becomes having a display server (X or Wayland) and linux kernel 3.2 or above (I think that's the version, if not, it's some 3.X). Otherwise, it works in all non-specialized linux distros (specialized ones being the ones made for highly skilled people)

brunoais avatar Apr 12 '22 17:04 brunoais

There is a appimage build related to guiscrcpy. Might help ~

Binly42 avatar Dec 18 '22 06:12 Binly42

For anyone who want's a AppImage of scrcpy: Fork of aditya24ra's fork to add support for Scrcpy v2.

justaCasualCoder avatar Dec 07 '23 21:12 justaCasualCoder