From 73b6c5ecfc1d4b9e3bf11e3beb6dd6569236a9da Mon Sep 17 00:00:00 2001 From: Gilver Date: Sun, 21 Sep 2025 23:25:51 -0500 Subject: [PATCH] Spoof Electron version Signed-off-by: Gilver --- anda/apps/goofcord/stable/goofcord.spec | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/anda/apps/goofcord/stable/goofcord.spec b/anda/apps/goofcord/stable/goofcord.spec index 9a22c444c4..5b31082fbb 100644 --- a/anda/apps/goofcord/stable/goofcord.spec +++ b/anda/apps/goofcord/stable/goofcord.spec @@ -52,9 +52,10 @@ nvm install 24 %ifarch aarch64 armv7hl armv7l sed -i '/\"x64\",/d' electron-builder.ts %endif -bun install --frozen-lockfile -sed '/electronFuses:/i electronVersion: "'$(electron --version | sed 's/v//')'",' -bun run packageLinux +ELECTRON_VERSION=$(electron --version | sed 's/v//') +bun install +#sed '/electronFuses:/i electronVersion: "'$ELECTRON_VERSION'",' +bun run build && electron-builder --linux --dir --publish=never -c.electronVersion="$ELECTRON_VERSION" %install mkdir -p %{buildroot}%{_datadir}/%{name}