Fix -h in zerotier-cli and move code to find auth token into LocalClient, also move auth token for mac into Mac-standard Library/Application Support location.

This commit is contained in:
Adam Ierymenko 2014-01-03 14:03:29 -08:00
parent baea75f2df
commit 22b52858e0
5 changed files with 47 additions and 20 deletions

View file

@ -79,6 +79,10 @@ void MainWindow::timerEvent(QTimerEvent *event)
{
event->accept();
#ifdef __APPLE__
#else
#endif
if (!zeroTierClient) {
std::string dotAuthFile((QDir::homePath() + QDir::separator() + ".zeroTierOneAuthToken").toStdString());
std::string authToken;