juc500 정상동작
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
cd "$ROOT"
|
||||
|
||||
if ! command -v brew >/dev/null 2>&1; then
|
||||
echo "Homebrew 가 필요합니다: https://brew.sh"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
brew list libusb >/dev/null 2>&1 || brew install libusb
|
||||
|
||||
python3 -m venv .venv
|
||||
# shellcheck disable=SC1091
|
||||
source .venv/bin/activate
|
||||
pip install -U pip
|
||||
# vendor wheel 우선 (오프라인 가능)
|
||||
pip install --no-index --find-links=vendor/wheels -r requirements.txt \
|
||||
|| pip install --find-links=vendor/wheels -r requirements.txt
|
||||
pip install --no-index --find-links=vendor/wheels --no-build-isolation -e . \
|
||||
|| pip install --find-links=vendor/wheels -e .
|
||||
|
||||
echo
|
||||
echo "설치 완료. 실행:"
|
||||
echo " ./start.sh"
|
||||
echo "예:"
|
||||
echo " source $ROOT/.venv/bin/activate"
|
||||
echo " juc500 info"
|
||||
echo " juc500 gui"
|
||||
echo " juc500 recv -y --dest ~/Downloads"
|
||||
echo " juc500 send /path/to/file"
|
||||
Reference in New Issue
Block a user