1
0
Fork 0
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:
Andrew Simachev 2025-05-07 22:20:18 +02:00
parent 44e51421e5
commit bae1b13eb8
No known key found for this signature in database
GPG key ID: 1DFE44B21443F0EF
3 changed files with 2 additions and 2 deletions

View file

@ -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);