Skip to content

Commit 5efe960

Browse files
committed
Fix missing call function.
1 parent 0c6652b commit 5efe960

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

skeleton/preload.js

+1
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ const Desktop = new (class {
294294
asJSON() {
295295
return {
296296
electron: { webFrame: { getZoomFactor: () => 1 } },
297+
call: (...args) => this.call(...args),
297298
fetch: (...args) => this.fetch(...args),
298299
fetchAsset: (...args) => this.fetchAsset(...args),
299300
fetchFile: (...args) => this.fetchFile(...args),

0 commit comments

Comments
 (0)