当我尝试使用DBI->connect
使用以下命令构建应用时,我正在使用electron
和nodejs
创建应用:
electron-builder
它仅为我当前的操作系统构建本机模块。有没有办法为所有操作系统构建本机模块?
答案 0 :(得分:3)
If your app has native dependency,
it can be compiled only on the target platform unless prebuild is not used.
prebuild is a solution, but most node modules don't provide prebuilt binaries.
macOS Code Signing works only on macOS. Cannot be fixed.