Compare commits

..

2 Commits

Author SHA1 Message Date
Macbook bb9874b931 juc500 정상동작 2026-07-21 21:11:19 +09:00
joyharam a423db0556 Restart stale GUI and avoid port 8765 clash with fileShare
Old juc500_app processes kept serving pre-fix code; start.sh now
kills them and GUI defaults to port 8766.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-15 12:20:15 +09:00
3 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -1,3 +1,3 @@
"""JUC500 cross-platform file transfer for Apple Silicon Mac ↔ Windows 11.""" """JUC500 cross-platform file transfer for Apple Silicon Mac ↔ Windows 11."""
__version__ = "0.1.0" __version__ = "0.1.1"
+10 -1
View File
@@ -2208,10 +2208,19 @@ def run_gui(open_browser: bool = True, port: int | None = None, host: str = "127
_GUI_SERVER = server _GUI_SERVER = server
SHARE.on_escape_quit = request_quit SHARE.on_escape_quit = request_quit
url = f"http://{host}:{listen_port}/" url = f"http://{host}:{listen_port}/"
print(f"JUC500 GUI: {url}") from . import __version__
from .usb_link import Juc500Link
backend = hasattr(Juc500Link, "_backend_bulk_write")
print(f"JUC500 GUI v{__version__} (backend_io={backend}): {url}")
print("fileShare와 동일한 듀얼 패널 UI · 케이블 연결 시 양쪽 자동 연결됩니다.") print("fileShare와 동일한 듀얼 패널 UI · 케이블 연결 시 양쪽 자동 연결됩니다.")
print("입력공유는 연결 시 기본 켜짐 — 한쪽에서 끄면 상대도 자동 동기화됩니다.") print("입력공유는 연결 시 기본 켜짐 — 한쪽에서 끄면 상대도 자동 동기화됩니다.")
print("Esc — 입력공유 끄고 프로그램 종료") print("Esc — 입력공유 끄고 프로그램 종료")
if listen_port != preferred:
print(
f"주의: 기본 포트 {preferred} 사용 중 → {listen_port} 으로 열었습니다. "
"브라우저 주소를 확인하세요."
)
start_autolisten() start_autolisten()
start_autoconnect() start_autoconnect()
start_cable_watch() start_cable_watch()
+3
View File
@@ -104,6 +104,9 @@ if ! "$PY" -c "import usb" 2>/dev/null; then
exit 1 exit 1
fi fi
# 캐시된 .pyc 가 헷갈리지 않도록 (경량)
rm -rf "$ROOT/juc500_xfer/__pycache__" 2>/dev/null || true
if is_windows; then if is_windows; then
libusb_ok="$( libusb_ok="$(
"$PY" -c " "$PY" -c "