Skip to content

Commit

Permalink
Remove scrcpy wrapper script for static builds
Browse files Browse the repository at this point in the history
All portable builds now use the files located in the same directory as
the scrcpy executable by default.

PR Genymobile#5560 <Genymobile#5560>
  • Loading branch information
rom1v committed Dec 2, 2024
1 parent dc6c279 commit aea6a37
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
6 changes: 0 additions & 6 deletions app/data/scrcpy_static_wrapper.sh

This file was deleted.

3 changes: 1 addition & 2 deletions release/build_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ ninja -C "$LINUX_BUILD_DIR"

# Group intermediate outputs into a 'dist' directory
mkdir -p "$LINUX_BUILD_DIR/dist"
cp "$LINUX_BUILD_DIR"/app/scrcpy "$LINUX_BUILD_DIR/dist/scrcpy_bin"
cp "$LINUX_BUILD_DIR"/app/scrcpy "$LINUX_BUILD_DIR/dist/"
cp app/data/icon.png "$LINUX_BUILD_DIR/dist/"
cp app/data/scrcpy_static_wrapper.sh "$LINUX_BUILD_DIR/dist/scrcpy"
cp app/scrcpy.1 "$LINUX_BUILD_DIR/dist/"
cp -r "$ADB_INSTALL_DIR"/. "$LINUX_BUILD_DIR/dist/"
3 changes: 1 addition & 2 deletions release/build_macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ ninja -C "$MACOS_BUILD_DIR"

# Group intermediate outputs into a 'dist' directory
mkdir -p "$MACOS_BUILD_DIR/dist"
cp "$MACOS_BUILD_DIR"/app/scrcpy "$MACOS_BUILD_DIR/dist/scrcpy_bin"
cp "$MACOS_BUILD_DIR"/app/scrcpy "$MACOS_BUILD_DIR/dist/"
cp app/data/icon.png "$MACOS_BUILD_DIR/dist/"
cp app/data/scrcpy_static_wrapper.sh "$MACOS_BUILD_DIR/dist/scrcpy"
cp app/scrcpy.1 "$MACOS_BUILD_DIR/dist/"
cp -r "$ADB_INSTALL_DIR"/. "$MACOS_BUILD_DIR/dist/"

0 comments on commit aea6a37

Please sign in to comment.