Bump version and fix user agent

This commit is contained in:
Gregory Schier 2020-04-29 13:05:54 -07:00
parent da80f36703
commit e96e663b2c
2 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ async function _getDefaultParams(): Promise<Array<RequestParameter>> {
}
// Prepping user agent string prior to sending to GA due to Electron base UA not being GA friendly.
const ua = String(window.navigator.userAgent)
const ua = String(window?.navigator?.userAgent)
.replace(new RegExp(`${getAppId()}\\/\\d+\\.\\d+\\.\\d+ `), '')
.replace(/Electron\/\d+\.\d+\.\d+ /, '');

View File

@ -1,5 +1,5 @@
{
"version": "2020.1.2",
"version": "2020.1.3",
"name": "insomnia-designer",
"executableName": "designer",
"appId": "com.insomnia.designer",