mirror of
https://github.com/MrUnknownDE/tplink-nvr-export.git
synced 2026-04-06 00:32:05 +02:00
16 lines
338 B
Python
16 lines
338 B
Python
#!/usr/bin/env python3
|
|
"""Entry point for CLI executable (PyInstaller compatible)."""
|
|
|
|
import sys
|
|
from pathlib import Path
|
|
|
|
# Add src to path for PyInstaller
|
|
src_path = Path(__file__).parent / "src"
|
|
if src_path.exists():
|
|
sys.path.insert(0, str(src_path))
|
|
|
|
from tplink_nvr_export.cli import main
|
|
|
|
if __name__ == "__main__":
|
|
main()
|