Repository navigation
Changes
Fixed
- Recover and verify a completely downloaded
.partfile before making another HTTP request. This avoids discarding a valid download after an interruption at the final read or commit. - Keep runtime preparation invisible when it can reuse a complete archive or another installation has already prepared the runtime. Downloads and preparation errors still show the launcher window.
- Log the reason an installed runtime cannot be reused, to make unexpected downloads diagnosable.
Documentation
- Reorganize the English and Chinese entry points around setup, startup behavior, compatibility and update paths.
- Explain exact-version runtime sharing, cache locations, upgrade behavior and troubleshooting.
- Separate historical size measurements from current release metadata and add contribution and release guidance.
中文摘要
- 完整的
.part文件先校验复用,避免最后读取或提交中断后重新下载。 - 复用完整归档或其他安装已准备好的运行时时,不显示引导窗口;下载和错误提示仍保留。
- 记录运行时无法复用的原因,并重新整理中英文文档、缓存与升级说明、历史体积测量和贡献指南。
Install
From your Electron project:
npm install --save-dev minitron-builder
npm run build
npx minitron-builderReuses your electron-builder configuration to produce Windows NSIS, Linux DEB/RPM, and macOS DMG/PKG installers with your application's name and icon. The launcher is selected automatically, and no update server is needed for the first launch. The npm package is also included as minitron-builder-0.4.2.tgz.
Installer upgrades stop the previous app; removal unregisters its shared runtime. On macOS, run the included Contents/Resources/minitron-uninstall.command before deleting the app.
For manual launcher installation, download the archive for your system or see the packaging guide.
| Platform | Download | Extracted launcher |
|---|---|---|
| windows-x64 | 5.21 MiB | 9.70 MiB |
| linux-x64 | 6.53 MiB | 13.28 MiB |
| macos-x64 | 5.31 MiB | 9.75 MiB |
| macos-arm64 | 5.14 MiB | 8.49 MiB |
Archives contain only minitron (minitron.exe on Windows). Electron is downloaded separately when the exact runtime is absent, then reused across compatible applications. Routine launches open the app directly. See SHA256SUMS for checksums and sizes.json for exact byte counts.