Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix sndcpy apk not found error #81

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion sndcpy
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
set -e
ADB=${ADB:-adb}
VLC=${VLC:-vlc}
SNDCPY_APK=${SNDCPY_APK:-sndcpy.apk}
SNDCPY_SCRIPT=$(realpath $0)
SNDCPY_PATH=$(dirname $SNDCPY_SCRIPT)
SNDCPY_APK=${SNDCPY_APK:-$SNDCPY_PATH/sndcpy.apk}
SNDCPY_PORT=${SNDCPY_PORT:-28200}

serial=
Expand Down
2 changes: 1 addition & 1 deletion sndcpy.bat
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@echo off
if not defined ADB set ADB=adb
if not defined VLC set VLC="C:\Program Files\VideoLAN\VLC\vlc.exe"
if not defined SNDCPY_APK set SNDCPY_APK=sndcpy.apk
if not defined SNDCPY_APK set SNDCPY_APK="%~dp0\sndcpy.apk"
if not defined SNDCPY_PORT set SNDCPY_PORT=28200

if not "%1"=="" (
Expand Down