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
+26 -2
View File
@@ -4,7 +4,10 @@
"description": "Dekupai - Turunçgil AI ile Kusursuz ve Hizli Dekupaj",
"main": "main.js",
"scripts": {
"start": "electron ."
"start": "electron .",
"build:win": "electron-builder --win",
"build:mac": "electron-builder --mac",
"build:all": "electron-builder --win --mac"
},
"keywords": [
"background-removal",
@@ -15,9 +18,30 @@
"author": "Antigravity",
"license": "MIT",
"devDependencies": {
"electron": "^31.3.0"
"electron": "^31.3.0",
"electron-builder": "^24.13.3"
},
"dependencies": {
"cropperjs": "^1.6.2"
},
"build": {
"appId": "com.turuncgil.dekupai",
"productName": "Dekupai",
"copyright": "Copyright © 2026 Turunçgil AI",
"directories": {
"output": "dist"
},
"files": [
"**/*",
"!.venv/**",
"!node_modules/**"
],
"win": {
"target": "nsis"
},
"mac": {
"target": "dmg",
"category": "public.app-category.graphics-design"
}
}
}