After Electron is packaged, the application can only copy folders, but not files. What is the permission problem?

the details are the same as those described in this issue. I don"t know if any of the bosses know anything. The development mode is normal, but it doesn"t work after building. It looks like an electron builder configuration problem.

Packaged application copySync only folder not exist files

Apr.11,2022

solved, because of the configuration problem of electron builder, asar: false will be fine

Menu