electron-rsbuild-template
v2.5.0
Published
The fastest and most up-to-date tool for building Electron apps width rsbuild
Readme
Electron Rsbuild template
Usage
Create template:
npx electron-rsbuild-templateInput project name (default name
electron-app);Select package manager;
Auto install dependencies;
Use
npm run devlaunch electron:
Icon
Use npm run icon to generate desktop icons in all sizes using the ./public/asstes/icons/icon.png template image,including icns and ico.
Project Structure
.
├── biome.json # code lint
├── builder # rsbuild config
│ ├── rsbuild.common.ts # common config for rsbuild
│ ├── rsbuild.main.ts # rsbuild config for main process
│ └── rsbuild.render.ts # rsbuild config for frontend process
├── builder.js # electron-builder
├── mas # entitlements for macos
│ ├── entitlements.mas.inherit.plist
│ ├── entitlements.mas.loginhelper.plist
│ └── entitlements.mas.plist
├── nodemon.json # reload config for main process
├── package.json
├── public # common assets
├── release # release directory
│ ├── app # Desktop installer
│ └── dist # js build release
├── src
│ ├── main # main process source code
│ └── render # frontend process source code
└── tsconfig.json