From 3ad07996c6168f5b2695f222c26047b95a56fcf8 Mon Sep 17 00:00:00 2001 From: Julian Date: Sun, 24 Nov 2024 11:51:13 +0100 Subject: [PATCH] Add potential fix for Electron issue https://github.com/signalapp/Signal-Desktop/issues/7086 --- ci-build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ci-build.sh b/ci-build.sh index 3461d6a..545810e 100755 --- a/ci-build.sh +++ b/ci-build.sh @@ -29,6 +29,8 @@ podman exec -it --env="PATH=/opt/node/bin:$PATH" -w /Signal-Desktop signal-deskt podman exec -it --env="PATH=/opt/node/bin:$PATH" -w /Signal-Desktop signal-desktop-"$VERSION" sed -i -e 's/ "deb"/ "dir"/' package.json # The mock tests are broken on custom arm builds podman exec -it --env="PATH=/opt/node/bin:$PATH" -w /Signal-Desktop signal-desktop-"$VERSION" sed -r '/mock/d' -i package.json +# https://github.com/signalapp/Signal-Desktop/issues/7086 added 7.34 2024-11-24 +podman exec -it --env="PATH=/opt/node/bin:$PATH" -w /Signal-Desktop signal-desktop-"$VERSION" sed -e 's,"electron": ".*","electron": "31.3.1",' -i package.json # Dry run podman exec -it --env="PATH=/opt/node/bin:$PATH" -w /Signal-Desktop signal-desktop-"$VERSION" npm install --non-interactive podman exec -it --env="PATH=/opt/node/bin:$PATH"