8774a4843e
PyInstaller onedir/onefile specs, Inno Setup script, and GitHub Actions workflow to produce JUC500-Setup-win64.exe and portable builds. Co-authored-by: Cursor <cursoragent@cursor.com>
26 lines
576 B
Bash
Executable File
26 lines
576 B
Bash
Executable File
#!/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
|
|
pip install -r requirements.txt
|
|
pip install -e .
|
|
|
|
echo
|
|
echo "설치 완료. 예:"
|
|
echo " source $ROOT/.venv/bin/activate"
|
|
echo " juc500 info"
|
|
echo " juc500 recv -y --dest ~/Downloads"
|
|
echo " juc500 send /path/to/file"
|