1 Star 0 Fork 88

周鹏祥/scrcpy

forked from Gitee 极速下载/scrcpy 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
run 562 Bytes
一键复制 编辑 原始数据 按行查看 历史
Romain Vimont 提交于 2022-03-30 14:00 . Fix icon path in ./run
#!/usr/bin/env bash
# Run scrcpy generated in the specified BUILDDIR.
#
# This provides the same feature as "ninja run", except that it is possible to
# pass arguments to scrcpy.
#
# Syntax: ./run BUILDDIR <scrcpy options ...>
if [[ $# = 0 ]]
then
echo "Syntax: $0 BUILDDIR <scrcpy options>" >&2
exit 1
fi
BUILDDIR="$1"
shift
if [[ ! -d "$BUILDDIR" ]]
then
echo "The build dir \"$BUILDDIR\" does not exist." >&2
exit 1
fi
SCRCPY_ICON_PATH="app/data/icon.png" \
SCRCPY_SERVER_PATH="$BUILDDIR/server/scrcpy-server" \
"$BUILDDIR/app/scrcpy" "$@"
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C/C++
1
https://gitee.com/zhou_pengxiang/scrcpy.git
git@gitee.com:zhou_pengxiang/scrcpy.git
zhou_pengxiang
scrcpy
scrcpy
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385