From 12a56e37bae8e1f392b8843b444b13fff02bc66b Mon Sep 17 00:00:00 2001
From: David Baker <dave@matrix.org>
Date: Thu, 7 Mar 2019 11:12:43 +0000
Subject: [PATCH] Don't copy the 32 bit linux deb

As per comment
---
 scripts/electron-package.sh | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/scripts/electron-package.sh b/scripts/electron-package.sh
index bffb6b00..711a4a7f 100755
--- a/scripts/electron-package.sh
+++ b/scripts/electron-package.sh
@@ -124,8 +124,12 @@ mkdir -p "$pubdir/update/win32/x64/"
 cp $distdir/squirrel-windows/*.nupkg "$pubdir/update/win32/x64/"
 cp $distdir/squirrel-windows/RELEASES "$pubdir/update/win32/x64/"
 
-# Move the debs to the main project dir's dist folder
-cp $distdir/*.deb "$projdir/electron_app/dist/"
+# Move the deb to the main project dir's dist folder
+# (just the 64 bit one - the 32 bit one still gets built because
+# it's one arch argument for all platforms and we still want 32 bit
+# windows, but 32 bit linux is unsupported as of electron 4 and no
+# longer appears to work).
+cp $distdir/*_amd64.deb "$projdir/electron_app/dist/"
 
 rm -rf "$builddir"