Skip to content

Commit

Permalink
Merge pull request #370 from hypermodules/dependabot/npm_and_yarn/ele…
Browse files Browse the repository at this point in the history
…ctron-debug-4.0.0

Bump electron-debug from 3.2.0 to 4.0.0
  • Loading branch information
bcomnes authored May 1, 2024
2 parents 2fd62e5 + fcf792e commit d06dd0a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
15 changes: 13 additions & 2 deletions main/windows/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,19 @@ const player = module.exports = {

let alwaysOnTop = false

require('electron-debug')({ showDevTools: 'undocked' })
require('electron-context-menu')()
import('electron-debug').then(({ default: debug }) => {
debug({ showDevTools: 'undocked' })
}).catch(err => {
console.error('Failed to load electron-debug:', err)
})

import('electron-context-menu').then(({ default: contextMenu }) => {
contextMenu({
showSaveImageAs: true
})
}).catch(err => {
console.error('Failed to load electron-context-menu:', err)
})

function init () {
player.windowState = windowStateKeeper({ width: 800, height: 600 })
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@
"classnames": "^2.2.6",
"content-addressable-blob-store": "^5.0.1",
"csjs-inject": "^1.0.1",
"electron-context-menu": "^3.6.1",
"electron-debug": "^3.0.1",
"electron-context-menu": "^4.0.0",
"electron-debug": "^4.0.0",
"electron-default-menu": "^1.0.1",
"electron-log": "^5.0.0-beta.16",
"electron-store": "^8.1.0",
Expand Down

0 comments on commit d06dd0a

Please sign in to comment.