spa5k / nextjs_approuter_electron

This is a monorepo template for building Electron apps with Next.js App router, SSR and Server Components
14 stars 0 forks source link

Makefile:2: *** missing separator. Stop. #1

Closed jeffreys-cat closed 1 week ago

jeffreys-cat commented 3 weeks ago
jeffreys-cat commented 3 weeks ago

in apps/electron folder, i run the npm run dist, but the dmg is not work

image

spa5k commented 3 weeks ago

Hey, thanks for the bugs, for the first one, looks like some formatting issue in makefile, and for the second, don't have a macbook in hand, so can't fix it.

Its probably related to how it's packaging, which I belive its missing the plist related files that MacOs needs, so if you please check another electron repo that has it there, and fix this one. Thanks.

spa5k commented 1 week ago

Makefile has been fixed, for it to run in apple, you need to setup lots of things like Notarization, take a look here-

https://github.com/electron-react-boilerplate/electron-react-boilerplate/blob/main/package.json