Having issues installing? See our debugging guide
-
Install Dependencies:
npm install
Note: This runs a
postinstallscript to ensurerelease/appdependencies are correctly set up. -
Start Development Server:
npm start
To package apps for the local platform:
npm run packageSee our docs and guides here
- Success Window:
- Implemented a dedicated success window that opens upon timer completion (0%).
- Used
HashRouterto correctly route to#/success. - Added a "Close" button functionality via IPC (
close-success-window). - Window is centered on screen with fixed dimensions (600x400).
- Main Window Customization:
- Position: Anchored to the bottom-right of the primary display.
- Size: Width set to 400px; Height dynamically calculated as 10% of the screen height.
- Style: Disabled native rounded corners (
roundedCorners: false) for a sharp look.
- Native Bindings: Resolved
rspack-resolvernative binding errors by runningelectron-rebuild. - Dependencies: Fixed missing
bootstrapCSS by installing the package and re-adding the import.
Releases are fully automated via GitHub Actions.
- Trigger: Push code to the
mainbranch. - Build: The workflow builds a portable Windows executable (
.exe). - Publish: The executable is automatically uploaded to a GitHub Release.
- The release tag version is derived directly from the
versionfield inpackage.json(e.g.,"version": "4.6.0"->v4.6.0). - Important: You must update the
versioninpackage.jsonbefore merging/pushing tomain. - The workflow automatically checks if the tag exists:
- If it does not exist, it creates the tag
v<version>. - If it exists, it proceeds with the release for that tag.
- If it does not exist, it creates the tag