Skip to content

Commit

Permalink
Update links to 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rom1v committed Nov 24, 2024
1 parent e5d6e19 commit f316af4
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 18 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
source for the project. Do not download releases from random websites, even if
their name contains `scrcpy`.**

# scrcpy (v2.7)
# scrcpy (v3.0)

<img src="app/data/icon.svg" width="128" height="128" alt="scrcpy" align="right" />

Expand Down
6 changes: 3 additions & 3 deletions doc/build.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,10 @@ install` must be run as root)._

#### Option 2: Use prebuilt server

- [`scrcpy-server-v2.7`][direct-scrcpy-server]
<sub>SHA-256: `a23c5659f36c260f105c022d27bcb3eafffa26070e7baa9eda66d01377a1adba`</sub>
- [`scrcpy-server-v3.0`][direct-scrcpy-server]
<sub>SHA-256: `93a03afa9f5728d47def0d0c2d68e127afb1199202d14e587f174658a5e7d0fe`</sub>

[direct-scrcpy-server]: https://github.com/Genymobile/scrcpy/releases/download/v2.7/scrcpy-server-v2.7
[direct-scrcpy-server]: https://github.com/Genymobile/scrcpy/releases/download/v3.0/scrcpy-server-v3.0

Download the prebuilt server somewhere, and specify its path during the Meson
configuration:
Expand Down
23 changes: 20 additions & 3 deletions doc/linux.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@

## Install

### From the official release

Download a static build of the [latest release]:

- [`scrcpy-linux-v3.0.tar.gz`][direct-linux] (x86_64)
<sub>SHA-256: `69e11fb6e4d9f0d7241708cb255d0d61d2d6a3484c0743f9ba646a0d346d8274`</sub>

[latest release]: https://github.com/Genymobile/scrcpy/releases/latest
[direct-linux]: https://github.com/Genymobile/scrcpy/releases/download/v3.0/scrcpy-linux-v3.0.tar.gz

and extract it.

_Static builds of scrcpy for Linux are still experimental._


### From your package manager

<a href="https://repology.org/project/scrcpy/versions"><img src="https://repology.org/badge/vertical-allrepos/scrcpy.svg" alt="Packaging status" align="right"></a>

Scrcpy is packaged in several distributions and package managers:
Expand All @@ -13,10 +30,10 @@ Scrcpy is packaged in several distributions and package managers:
- Snap: `snap install scrcpy`
- … (see [repology](https://repology.org/project/scrcpy/versions))

### Latest version

However, the packaged version is not always the latest release. To install the
latest release from `master`, follow this simplified process.
### From an installation script

To install the latest release from `master`, follow this simplified process.

First, you need to install the required packages:

Expand Down
17 changes: 17 additions & 0 deletions doc/macos.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@

## Install

### From the official release

Download a static build of the [latest release]:

- [`scrcpy-macos-v3.0.tar.gz`][direct-macos] (arm64)
<sub>SHA-256: `98c5bb97b9c9dc68e3f2ac3565e6b08af03547d9bb9242d48b43d02c74d2434f`</sub>

[latest release]: https://github.com/Genymobile/scrcpy/releases/latest
[direct-macos]: https://github.com/Genymobile/scrcpy/releases/download/v3.0/scrcpy-macos-v3.0.tar.gz

and extract it.

_Static builds of scrcpy for macOS are still experimental._


### From a package manager

Scrcpy is available in [Homebrew]:

```bash
Expand Down
22 changes: 13 additions & 9 deletions doc/windows.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,35 +2,39 @@

## Install

### From the official release

Download the [latest release]:

- [`scrcpy-win64-v2.7.zip`][direct-win64] (64-bit)
<sub>SHA-256: `5910bc18d5a16f42d84185ddc7e16a4cee6a6f5f33451559c1a1d6d0099bd5f5`</sub>
- [`scrcpy-win32-v2.7.zip`][direct-win32] (32-bit)
<sub>SHA-256: `ef4daf89d500f33d78b830625536ecb18481429dd94433e7634c824292059d06`</sub>
- [`scrcpy-win64-v3.0.zip`][direct-win64] (64-bit)
<sub>SHA-256: `e4ee78c762a4b5e3e37673da2859cb1d9e2d5b8341d927d72159cc89d8edb994`</sub>
- [`scrcpy-win32-v3.0.zip`][direct-win32] (32-bit)
<sub>SHA-256: `abbcd5168c294cebeca6296973a28cb3f57cd7b7e610789158a7c7d622ed5578`</sub>

[latest release]: https://github.com/Genymobile/scrcpy/releases/latest
[direct-win64]: https://github.com/Genymobile/scrcpy/releases/download/v2.7/scrcpy-win64-v2.7.zip
[direct-win32]: https://github.com/Genymobile/scrcpy/releases/download/v2.7/scrcpy-win32-v2.7.zip
[direct-win64]: https://github.com/Genymobile/scrcpy/releases/download/v3.0/scrcpy-win64-v3.0.zip
[direct-win32]: https://github.com/Genymobile/scrcpy/releases/download/v3.0/scrcpy-win32-v3.0.zip

and extract it.

Alternatively, you could install it from packages manager, like [Chocolatey]:

### From a package manager

From [Chocolatey]:

```bash
choco install scrcpy
choco install adb # if you don't have it yet
```

or [Scoop]:
From [Scoop]:


```bash
scoop install scrcpy
scoop install adb # if you don't have it yet
```

[Winget]: https://github.com/microsoft/winget-cli
[Chocolatey]: https://chocolatey.org/
[Scoop]: https://scoop.sh

Expand Down
4 changes: 2 additions & 2 deletions install_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
set -e

BUILDDIR=build-auto
PREBUILT_SERVER_URL=https://github.com/Genymobile/scrcpy/releases/download/v2.7/scrcpy-server-v2.7
PREBUILT_SERVER_SHA256=a23c5659f36c260f105c022d27bcb3eafffa26070e7baa9eda66d01377a1adba
PREBUILT_SERVER_URL=https://github.com/Genymobile/scrcpy/releases/download/v3.0/scrcpy-server-v3.0
PREBUILT_SERVER_SHA256=93a03afa9f5728d47def0d0c2d68e127afb1199202d14e587f174658a5e7d0fe

echo "[scrcpy] Downloading prebuilt server..."
wget "$PREBUILT_SERVER_URL" -O scrcpy-server
Expand Down

0 comments on commit f316af4

Please sign in to comment.