$src = "c:\xampp\htdocs\hivemind\hivemind\ui"
$dst = "C:\Users\dejav\AppData\Local\HiveMind\hivemind\ui"
$srcRoot = "c:\xampp\htdocs\hivemind\hivemind"
$dstRoot = "C:\Users\dejav\AppData\Local\HiveMind\hivemind"
$installRoot = "c:\xampp\htdocs\hivemind"
$installDst = "C:\Users\dejav\AppData\Local\HiveMind"
Copy-Item "$src\web.py" "$dst\web.py" -Force
Copy-Item "$src\dashboard.html" "$dst\dashboard.html" -Force
Copy-Item "$srcRoot\config.py" "$dstRoot\config.py" -Force
Copy-Item "$srcRoot\node.py" "$dstRoot\node.py" -Force
Copy-Item "$srcRoot\cli.py" "$dstRoot\cli.py" -Force
Copy-Item "$installRoot\install.py" "$installDst\install.py" -Force
New-Item -ItemType Directory -Force -Path "$installDst\logs" | Out-Null
Write-Host "Deployed:"
(Get-Item "$dst\web.py").LastWriteTime
(Get-Item "$dst\dashboard.html").LastWriteTime
(Get-Item "$dstRoot\config.py").LastWriteTime
(Get-Item "$dstRoot\node.py").LastWriteTime
(Get-Item "$dstRoot\cli.py").LastWriteTime
