💅 An Electron app boilerplate with React v19, TypeScript v5, Tailwind v4, shadcn/ui, Electron Vite, Biome, GitHub Action releases and more.
Windows
, Mac
and Linux
binariesAlt
or Option
key on DOM element and clicking on it):warning: If Windows 7 and 8 support is important for your project, you should know that Electron in a version greater than 22x no longer supports it. You can read more about it here. Therefore, you must downgrade Electron to 22x version if it's important for you!
npx degit daltonmenezes/electron-app/template project_name
cd project_name
pnpm install
pnpm dev
Now, look at the package.json file in the root directory, you should update some of that settings with your project branding.
For security reasons, pnpm has the onlyBuiltDependenciesFile property where only dependencies listed in the trusted-dependencies-scripts.json file can perform the postscripts execution. So, if you want to add a new dependency that needs to run a postscript, you should add it to the trusted-dependencies-scripts.json file list.
Note: Check Electron Builder docs for more knowledge
pnpm build
pnpm build --mac
# OR
pnpm build --win
# OR
pnpm build --linux
The builded apps will be available in the dist
folder.
Note: contributions are always welcome, but always ask first, — please — before work on a PR.
That said, there's a bunch of ways you can contribute to this project, like by: