Open drakbar opened 8 years ago
In that file you can specifiy your accounts. If you pass -a [number] argument on start it will chose the account on x position, otherwise the first one. (Note, it starts with 0). If you just want a single account, it looks like this:
{
"Accounts": [
{
"Provider": "GoogleAuth",
"Username": "xxx",
"Password": "xxx",
"Position": {
"Latitude": 0.0,
"Longitude": 0.0
}
}
]
}
So after going briefly through the code I stumble across this file. Is this for adding multiple accounts? I am not experienced with Json so this is just my speculation about how you intended to use it. If this is the case and all you have to do is fill in the blank for the required fields that is a really cool implementation and I would like to add this very thing to my own project. However, when I tride to do this very thing with one google account the program crashed because it could authenticate with PTC. I completely removed the PTC element but the problem still persisted. I only mention this because I am unsure if that is the intention of this piece.