Skip to content

Commit

Permalink
No more obs-websocket-js in preload, now in renderer.
Browse files Browse the repository at this point in the history
  • Loading branch information
jmkao committed Feb 21, 2022
1 parent fe392f0 commit 5263303
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src-electron/electron-preload.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

const { contextBridge } = require('electron')
// const { contextBridge } = require('electron')

const OBSWebSocket = require('obs-websocket-js')
// const OBSWebSocket = require('obs-websocket-js')

// contextBridge.exposeInMainWorld(
// 'obswebsocket',
Expand All @@ -10,7 +10,7 @@ const OBSWebSocket = require('obs-websocket-js')
// }
// )

window.OBSWebSocket = OBSWebSocket
// window.OBSWebSocket = OBSWebSocket

// const obs = new OBSWebSocket()

Expand Down

0 comments on commit 5263303

Please sign in to comment.