mirror of
https://github.com/Genymobile/scrcpy.git
synced 2026-04-21 01:33:36 +00:00
Use generic command for SHA-256
The command sha256sum does not exist on macOS, but `shasum -a256` works both on Linux and macOS. Co-authored-by: Romain Vimont <rom@rom1v.com>
This commit is contained in:
parent
fa293d4a79
commit
c0a49e2e40
1 changed files with 1 additions and 1 deletions
|
|
@ -59,7 +59,7 @@ checksum() {
|
|||
local file="$1"
|
||||
local sum="$2"
|
||||
echo "$file: verifying checksum..."
|
||||
echo "$sum $file" | sha256sum -c
|
||||
echo "$sum $file" | shasum -a256 -c
|
||||
}
|
||||
|
||||
get_file() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue