At https://electron-vite.org/guide/source-code-protection#multi-platform-build, it says to add process.env.ELECTRON_EXEC_PATH = '/path/to/electron-x64/electron.app' to point to the Electron app but it should actually be './path/to/electron-x64/dist/Electron.app/Contents/MacOS/Electron'. It needs to point to the binary and not just the app.
Describe the bug
At https://electron-vite.org/guide/source-code-protection#multi-platform-build, it says to add process.env.ELECTRON_EXEC_PATH = '/path/to/electron-x64/electron.app' to point to the Electron app but it should actually be './path/to/electron-x64/dist/Electron.app/Contents/MacOS/Electron'. It needs to point to the binary and not just the app.
Electron-Vite Version
2.3.0
Electron Version
30
Vite Version
5
Validations