
echo "Install Stardust as service on Windows"

clover40.exe net8-host -silent

agent\StarAgent.exe -install -server http://127.0.0.1:6600

echo "starting ..."

ping 127.0.0.1 -n 5 > nul
start http://localhost:6600/api
ping 127.0.0.1 -n 5 > nul
start http://localhost:6680

echo "Install finished!"