Skip to content

Commit

Permalink
chore: fake electron plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
mjcctech committed Nov 15, 2023
1 parent 82ab42a commit 19b6b8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion skeleton/preload.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ const Desktop = new (class {

asJSON() {
return {
electron: this.electron,
electron: { webFrame: { getZoomFactor: () => 1 } },
fetch: (...args) => this.fetch(...args),
fetchAsset: (...args) => this.fetchAsset(...args),
fetchFile: (...args) => this.fetchFile(...args),
Expand Down

0 comments on commit 19b6b8c

Please sign in to comment.