Skip to content

Commit

Permalink
[fix] remove deprecated init var (Closes #321)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferllings committed Dec 12, 2023
1 parent b7eb22f commit e15be3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/browsers/preferences.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ module.exports = (dirname) => {
let init = (parent) => {
if (win === null || win === undefined) {
if (process.platform === 'darwin' || process.platform === 'win32') {
createWindow(parent, x, y)
createWindow(parent)
}
}
}

let createWindow = (parent, x, y) => {
let createWindow = (parent) => {
win = new BrowserWindow({
width: 500,
height: 600,
Expand Down

0 comments on commit e15be3b

Please sign in to comment.