Closed Godzillas closed 1 year ago
Hello, dwmapi.h is a windows API, it doesn't exist on mac. For have transparent effect on mac, you need to use visualEffectState in BrowserWindow options, you can see here : https://www.electronjs.org/docs/latest/api/browser-window
如果你想让windows和mac同时编译或执行,你可以选择在给mac重新写一个main.js
来运行,mac的有官方的毛玻璃支持,可以参看官方文档
安装 SysMocap 依赖的时候报错,电脑环境 node v14.21.2 M1 MacBook Air