- Windows 10/11 (64-bit)
- Node.js 20+ and npm
cd taskflow
.\scripts\dev.ps1Or manually:
npm install
npm run dev.\scripts\build.ps1Or directly:
npm run dist # NSIS installer + portable
npm run dist:portable # portable onlyOutput (in release/):
TaskFlow Setup x.x.x.exe— NSIS installerTaskFlow x.x.x.exe— Portable executable
The app icon is resources/icon.ico (256×256 multi-size).
On Windows, electron-builder unpacks its winCodeSign toolchain, which contains
macOS symlinks. Extracting symlinks requires privilege. Either:
-
Enable Settings → Privacy & security → For developers → Developer Mode, or run the build shell as Administrator; or
-
Pre-extract the archive without the (unused on Windows)
darwinfolder into the cache path electron-builder expects, e.g.:$c = "$env:LOCALAPPDATA\electron-builder\Cache\winCodeSign" & ".\node_modules\7zip-bin\win\x64\7za.exe" x "$c\<archive>.7z" "-o$c\winCodeSign-2.6.0" "-xr!darwin"
Windows builds don't need the macOS files, so excluding them is safe.
%APPDATA%\taskflow\data\taskflow.db
%APPDATA%\taskflow\data\backups\
- Obtain a code signing certificate
- Add to
package.jsonbuild config:
"win": {
"certificateFile": "path/to/cert.pfx",
"certificatePassword": "password"
}Integrate electron-updater with a release server (GitHub Releases recommended).
| Metric | Minimum |
|---|---|
| RAM | 256 MB |
| Disk | 200 MB |
| Display | 1100×700 |