From 5f94667bf94abbde8044c43678341b8cc6b133fd Mon Sep 17 00:00:00 2001 From: ltadeu6 Date: Thu, 28 May 2026 17:53:33 -0300 Subject: [PATCH] Configura electron-builder para AppImage (Linux) e NSIS (Windows) - package.json: appId, linux AppImage target, win NSIS target - res/electron/build.json: config completa para electron-builder v26 Co-Authored-By: Claude Sonnet 4.6 --- package.json | 15 ++++++++++++--- res/electron/build.json | 4 +++- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index ca301e2..2d89ec8 100644 --- a/package.json +++ b/package.json @@ -24,14 +24,23 @@ ] }, "build": { - "appId": "com.tadeu.biolab", + "appId": "dev.tadix.biolab", "productName": "BioLab", "directories": { - "buildResources": "resources" + "buildResources": "res" + }, + "linux": { + "target": "AppImage", + "icon": "res/icon.png", + "category": "Science" }, "win": { "target": "nsis", - "icon": "resources/icon.ico" + "icon": "res/icon.ico" + }, + "nsis": { + "oneClick": false, + "allowToChangeInstallationDirectory": true } } } \ No newline at end of file diff --git a/res/electron/build.json b/res/electron/build.json index 76526c4..2066ba4 100644 --- a/res/electron/build.json +++ b/res/electron/build.json @@ -2,7 +2,9 @@ "appId": "dev.tadix.biolab", "productName": "BioLab", "directories": { - "buildResources": "res" + "buildResources": "res", + "app": "platforms/electron/www", + "output": "platforms/electron/build" }, "linux": { "target": "AppImage",