Skip to content

Commit 54f7d14

Browse files
authored
[Fix] Auto update track event (#1177)
* call trackEvent from metrics package * bump 0.22.2
1 parent 523ba8a commit 54f7d14

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hyperplay",
3-
"version": "0.22.1",
3+
"version": "0.22.2",
44
"private": true,
55
"main": "build/main/main.js",
66
"homepage": "./",

src/backend/updater.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import { t } from 'i18next'
55
import { configStore, icon, isLinux } from './constants'
66
import { logError, logInfo, LogPrefix } from './logger/logger'
77
import { isOnline } from './online_monitor'
8-
import { trackEvent } from './api/metrics'
98
import { captureException } from '@sentry/electron'
109
import { getFileSize } from './utils'
1110
import { ClientUpdateStatuses } from '@hyperplay/utils'
11+
import { trackEvent } from './metrics/metrics'
1212
// to test auto update on windows locally make sure you added the option "verifyUpdateCodeSignature": false
1313
// under build.win in package.json and also change the app version to an old one there
1414

0 commit comments

Comments
 (0)