From 337213cb6a398885e6394fa010a5c2cb2d2ca69f Mon Sep 17 00:00:00 2001
From: Kaloyan Manolov <kmanolov@asteasolutions.com>
Date: Fri, 4 Apr 2025 16:27:49 +0300
Subject: [PATCH] fix: only package webpack folders in dist

---
 electron-builder.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/electron-builder.yaml b/electron-builder.yaml
index 0423950..21dd187 100644
--- a/electron-builder.yaml
+++ b/electron-builder.yaml
@@ -5,7 +5,8 @@ appId: edu.mit.scratch.scratch-desktop
 productName: "Scratch 3"
 publish: # empty provider list = don't publish
 files:
-  - dist/**
+  - dist/main/
+  - dist/renderer/
   - package.json
 extraResources: # copy the downloaded static assets to make sure they are available for the artifact
   - from: static/