Skip to content

Commit

Permalink
Fix #3 (Blank white screen on startup)
Browse files Browse the repository at this point in the history
  • Loading branch information
proAlexandr committed Jun 28, 2019
1 parent bab040d commit 595136f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "kube-forwarder",
"version": "1.0.1",
"versionString": "1.0.1",
"version": "1.0.2",
"versionString": "1.0.2",
"author": "Pixel Point <[email protected]>",
"homepage": "https://kube-forwarder.poxelpoint.io",
"description": "A tool for managing port forwarding configs for kubernetes clusters",
Expand Down
4 changes: 2 additions & 2 deletions src/renderer/analytics.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
let analytics

if (process.env.NODE_ENV === 'production') {
const Analytics = require('electron-ga')
if (!process.env.IS_WEB) {
const Analytics = require('electron-ga').default
analytics = new Analytics(process.env.GA_TRACKING_ID)
} else {
analytics = {
Expand Down

0 comments on commit 595136f

Please sign in to comment.