# Notes for the windows build and installer

cd C:\Users\joshuamckenty\.pyenv\pyenv-win\versions\3.10.5
python Scripts/pywin32_postinstall.py -install

cd C:\Users\joshuamckenty\projects\loophost\client
pyinstaller --onefile --hidden-import win32timezone loophost\win_hub.py
FOR /F %i IN ('python -c "import os; import win32service; print(os.path.dirname(win32service.__file__) + '\lib')"') DO set pywinpath=%i
copy dist\win_hub.exe %pywinpath%\

// Get-Process -Id (Get-NetTCPConnection -LocalPort 443).OwningProcess