feat: add electron-builder build configurations and documentation

This commit is contained in:
Ümit Tunç
2026-05-23 10:52:17 +03:00
parent bcef93f354
commit 2556249a5f
3 changed files with 3284 additions and 8 deletions
+21
View File
@@ -79,6 +79,27 @@ Ensure you have the following installed on your machine:
*All progress is streamed in real-time straight to your dashboard progress bar and system terminal window!*
### Packaging & Building
To package and compile **Dekupai** into standalone production binaries or installers for Windows and macOS, we use the integrated `electron-builder` engine:
* **Build for Windows (NSIS Standalone Installer .exe)**:
```bash
npm run build:win
```
*Compiles a single-file executable setup installer inside the `dist/` directory.*
* **Build for macOS (Standalone DMG Volume .dmg)**:
```bash
npm run build:mac
```
*Compiles the installer package for Apple Systems inside the `dist/` directory. (Note: You can compile macOS builds on Windows using target overrides, but native signed builds are best run on a macOS host).*
* **Compile for Both Platforms Simultaneously**:
```bash
npm run build:all
```
---
## 📖 Operational Guide