Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Commit

Permalink
fix debug window
Browse files Browse the repository at this point in the history
  • Loading branch information
delebash committed Sep 9, 2022
1 parent 566ae59 commit 8273ac4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "unreal-mapbox-bridge",
"version": "2.1.0",
"version": "2.1.1",
"description": "Import real world locations into Unreal using Mapbox",
"productName": "Unreal Mapbox Bridge",
"author": "daniel <danelebash@hotmail.com>",
Expand Down
1 change: 1 addition & 0 deletions src-electron/electron-main.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ function createWindow() {

mainWindow.loadURL(process.env.APP_URL)
// mainWindow.webContents.openDevTools()
mainWindow.webContents.closeDevTools()
if (process.env.DEBUGGING) {
// if on DEV or Production with debug enabled
mainWindow.webContents.openDevTools()
Expand Down

0 comments on commit 8273ac4

Please sign in to comment.