Skip to content

Commit

Permalink
fix: load file not working with query
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Mar 19, 2024
1 parent 3a63c43 commit 748ac16
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/WindowManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,9 @@ export default class WindowManager {
process.env['ELECTRON_RENDERER_URL'] + idQuery
)
} else {
window.loadFile(
join(__dirname, '../renderer/index.html') + idQuery
)
window.loadFile(join(__dirname, '../renderer/index.html'), {
query: { displayId: window.displayId }
})
}
} catch (error) {
console.error('Error while loading url', error)
Expand Down

0 comments on commit 748ac16

Please sign in to comment.