Track check for updates.

pull/520/head
Adam Treat 1 year ago
parent b19d2f2c21
commit 386ce08fca

@ -449,6 +449,8 @@ int32_t LLM::threadCount() {
bool LLM::checkForUpdates() const
{
Network::globalInstance()->sendCheckForUpdates();
#if defined(Q_OS_LINUX)
QString tool("maintenancetool");
#elif defined(Q_OS_WINDOWS)

@ -174,6 +174,13 @@ void Network::sendShutdown()
sendMixpanelEvent("shutdown");
}
void Network::sendCheckForUpdates()
{
if (!m_isOptIn)
return;
sendMixpanelEvent("check_for_updates");
}
void Network::sendMixpanelEvent(const QString &ev)
{
if (!m_isOptIn)

@ -27,6 +27,7 @@ public Q_SLOTS:
void sendResetContext();
void sendStartup();
void sendShutdown();
void sendCheckForUpdates();
private Q_SLOTS:
void handleIpifyFinished();

Loading…
Cancel
Save