scrcpy icon indicating copy to clipboard operation
scrcpy copied to clipboard

Add support for Windows Package Manager (winget)

Open IDisposable opened this issue 4 years ago • 12 comments

  • [X] I have checked that a similar feature request does not already exist.

Is your feature request related to a problem? Please describe. While Chocolatey and Scoop are both excellent package managers for Windows, the newly released Windows Package Manager is built-in and available in all upcoming versions of Windows.

Describe the solution you'd like Would love to see scrcpy registered for a winget install scrcpy install. Instructions for submitting the package to the winget repository are pretty simple, just uploading a manifest to the public GitHub repository of packages via a PR.

Steps:

  1. Create manifest
  2. Register manifest with winget
  3. Update the srccpy repository to build/validate/submit manifest
  4. Wait for initial confirmation that package is available
  5. Update this repository README.MD to include winget instructions.

Describe alternatives you've considered Obviously we can already use choco or scoop, but those package managers have to be bootstrap-installed first if not yet in use.

IDisposable avatar May 28 '20 19:05 IDisposable

@rom1v have you typically been the person submitting the choco or scoop manifests? Would you like me to create a sample, or just submit one. Would you like me to create the PR for the README.MD file?

IDisposable avatar May 28 '20 19:05 IDisposable

have you typically been the person submitting the choco or scoop manifests?

No, people just submitted pull requests to add the links to the README (#1144 #1202).

Would you like me to create a sample, or just submit one. Would you like me to create the PR for the README.MD file?

Yes. Yes. :wink:

Thank you :+1:

rom1v avatar May 28 '20 19:05 rom1v

I very much second this.

It's about time Windows got an "official" package manager - all the rest of them have various issues or taints, and this is a pretty darn good implementation.

I just checked the repository a little while ago and I didn't see scrcpy in there. @IDisposable, thank you for spearheading this! Have you submitted the manifest yet? Please let us know if/when there's been any response.

AzureRaptor avatar Aug 13 '20 11:08 AzureRaptor

When can we expect windows terminal cli winget package of scrcpy?

kunal26das avatar Mar 07 '21 23:03 kunal26das

Indeed, it's been quite some time since there has been any movement on this issue.

AzureRaptor avatar Mar 08 '21 02:03 AzureRaptor

Any update on this?

hazre avatar Sep 29 '21 13:09 hazre

Any update on this?

This is blocked by microsoft/winget-cli#140, also related: microsoft/winget-pkgs#4083

Hazmi35 avatar Sep 29 '21 14:09 Hazmi35

Is this actively being looked into?

vignesh-em avatar Aug 13 '22 01:08 vignesh-em

This is blocked by microsoft/winget-cli#140, also related: microsoft/winget-pkgs#4083

Looks like https://github.com/microsoft/winget-cli/issues/140 has been fixed. Release notes indicate installing from zip is currently experimental and the Community Repository will not accept zip applications until 1.4 is Generally Available, but it's coming

mesvam avatar Oct 09 '22 02:10 mesvam

I believe a stable (non-prerelease) version of Winget 1.4 is available, as of about 3 weeks ago https://github.com/microsoft/winget-cli/releases/tag/v1.4.10173

davvolun avatar Feb 05 '23 22:02 davvolun

I believe a stable (non-prerelease) version of Winget 1.4 is available, as of about 3 weeks ago https://github.com/microsoft/winget-cli/releases/tag/v1.4.10173

@IDisposable Does this mean you can go ahead with submitting that manifest/PR now?

AzureRaptor avatar Feb 07 '23 21:02 AzureRaptor

I guess it does! I'll get to that on Thursday.

IDisposable avatar Feb 08 '23 03:02 IDisposable

#4005

rom1v avatar May 17 '23 17:05 rom1v

I'm guessing this should be added as a separate issue, but this didn't add scrcpy or, a bigger problem, adb to my command line PATH. It installed them, but I expected to be able to simply run adb connect <android ip> and scrcpy to view my screen. Physically connecting with scrcpy works fine, but without (easy) command line access as part of the package, wireless connection for adb is a pain.

Was this as expected, a bug, or a fault on my end?

davvolun avatar May 18 '23 19:05 davvolun

scrcpy in the Windows Package Manager Community Repository ("winget default repository"):

https://github.com/microsoft/winget-pkgs/tree/master/manifests/g/Genymobile/scrcpy memento

Abdull avatar Nov 28 '23 17:11 Abdull