mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
try to change preload to cjs
This commit is contained in:
parent
44e51421e5
commit
bae1b13eb8
3 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ class WindowManager {
|
|||
show: false,
|
||||
titleBarStyle: 'hidden-inset',
|
||||
webPreferences: {
|
||||
preload: fixPathForAsarUnpack(path.join(Util.electronPath(), 'js', 'preload.js')),
|
||||
preload: fixPathForAsarUnpack(path.join(Util.electronPath(), 'js', 'preload.cjs')),
|
||||
},
|
||||
}, param);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue