Skip to content

Commit

Permalink
Remove explicit paths from script wrapper
Browse files Browse the repository at this point in the history
By default, scrcpy built with -Dportable=true will find scrcpy-server
and icon.png in the same directory as the executable.
  • Loading branch information
rom1v committed Nov 28, 2024
1 parent 7229b18 commit a36094d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/data/scrcpy_static_wrapper.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
#!/bin/bash
cd "$(dirname ${BASH_SOURCE[0]})"
export ADB="${ADB:-./adb}"
export SCRCPY_SERVER_PATH="${SCRCPY_SERVER_PATH:-./scrcpy-server}"
export SCRCPY_ICON_PATH="${SCRCPY_ICON_PATH:-./icon.png}"
./scrcpy_bin "$@"

0 comments on commit a36094d

Please sign in to comment.