diff --git a/package.json b/package.json index 172b05e..f38272d 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "1.5.0", + "version": "1.5.1", "description": "", "keywords": [ "electron", diff --git a/src/renderer/index.tsx b/src/renderer/index.tsx index 74b6680..8313d72 100644 --- a/src/renderer/index.tsx +++ b/src/renderer/index.tsx @@ -3,6 +3,7 @@ import { loader } from '@monaco-editor/react'; import * as monaco from 'monaco-editor'; import * as amplitude from '@amplitude/analytics-browser'; import App from './App'; +import pj from './../../package.json' const isDev = !process.env.NODE_ENV || process.env.NODE_ENV === 'development'; @@ -10,7 +11,7 @@ amplitude.init( isDev ? '16543070a2c829f8a27f46c21fc0f708' : 'ed51d61371d63ef1136b842900ebdae', -); + {appVersion: pj.version}); loader.config({ monaco });