juc500 정상동작

This commit is contained in:
Macbook
2026-07-21 21:04:25 +09:00
parent a423db0556
commit bb9874b931
2917 changed files with 708025 additions and 668 deletions
+22 -12
View File
@@ -8,13 +8,29 @@ ROOT = Path(SPECPATH).resolve()
STATIC = ROOT / "juc500_xfer" / "static"
VENDOR_DLL = ROOT / "vendor" / "libusb-1.0.dll"
hidden = collect_submodules("juc500_xfer")
hidden = (
collect_submodules("juc500_xfer")
+ collect_submodules("usb")
+ collect_submodules("pynput")
+ [
"six",
"usb.core",
"usb.util",
"usb.backend",
"usb.backend.libusb1",
"pynput.keyboard",
"pynput.mouse",
"pynput.keyboard._win32",
"pynput.mouse._win32",
]
)
datas = []
for f in STATIC.iterdir():
if f.is_file():
datas.append((str(f), "static"))
datas.append((str(f), "juc500_xfer/static"))
if STATIC.is_dir():
for f in STATIC.iterdir():
if f.is_file():
datas.append((str(f), "static"))
datas.append((str(f), "juc500_xfer/static"))
binaries = []
if VENDOR_DLL.is_file():
@@ -25,13 +41,7 @@ a = Analysis(
pathex=[str(ROOT)],
binaries=binaries,
datas=datas,
hiddenimports=hidden + [
"usb",
"usb.core",
"usb.util",
"usb.backend",
"usb.backend.libusb1",
],
hiddenimports=hidden,
hookspath=[],
hooksconfig={},
runtime_hooks=[],