default write key to empty
This commit is contained in:
parent
b9a186c820
commit
45bf83ff58
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ import { v4 as uuidv4 } from 'uuid'
|
||||||
const Store = require('electron-store')
|
const Store = require('electron-store')
|
||||||
const store = new Store()
|
const store = new Store()
|
||||||
|
|
||||||
export const analytics = new Analytics({ writeKey: process.env.TELEMETRY_WRITE_KEY })
|
export const analytics = new Analytics({ writeKey: process.env.TELEMETRY_WRITE_KEY || '' })
|
||||||
|
|
||||||
export function id(): string {
|
export function id(): string {
|
||||||
const id = store.get('id')
|
const id = store.get('id')
|
||||||
|
|
Loading…
Reference in a new issue