Ready to test app-driven service install on Mac.

This commit is contained in:
Adam Ierymenko 2014-01-05 20:59:41 -08:00
parent a19c19c58c
commit e525e3a571
4 changed files with 52 additions and 16 deletions

View file

@ -116,18 +116,6 @@ void MainWindow::timerEvent(QTimerEvent *event)
id->show();
this->setHidden(true);
return;
// Run the little AppleScript hack that asks for admin credentials and
// then installs the auth token file in the current user's home.
/*
QString installHelperPath(QCoreApplication::applicationDirPath() + "/../Resources/helpers/mac/ZeroTier One (Install).app/Contents/MacOS/applet");
if (!QFile::exists(installHelperPath)) {
QMessageBox::critical(this,"Unable to Locate Helper","Unable to locate install helper, cannot install service.",QMessageBox::Ok,QMessageBox::NoButton);
QApplication::exit(1);
return;
}
QProcess::execute(installHelperPath,QStringList());
*/
}
#endif