This commit is contained in:
2025-07-25 21:45:07 -04:00
parent f75c757b12
commit d77dd386f3
19 changed files with 2131 additions and 38 deletions

24
launch_gui.py Executable file
View File

@@ -0,0 +1,24 @@
#!/usr/bin/env python3
"""
Launcher script for StreamLens GUI
"""
import sys
import os
# Add the current directory to Python path
sys.path.insert(0, os.path.dirname(os.path.abspath(__file__)))
from analyzer.main import main
if __name__ == "__main__":
# Set up arguments for GUI mode
sys.argv = ['streamlens']
# Add PCAP file if provided as argument
if len(sys.argv) > 1:
sys.argv.extend(['--gui', '--pcap', sys.argv[1]])
else:
sys.argv.append('--gui')
main()