fix(legcord-nightly): requires nodejs 26, remove hacks (#13070) (#13459)

* use vendored nodejs cause fedora doesn't have node 26 yet

* chore (legcord-nightly): remove hacks



* try mock



* try this



---------




(cherry picked from commit 163dc0f284)

Signed-off-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
Co-authored-by: june <159748074+june-fish@users.noreply.github.com>
Co-authored-by: madomado <madonuko@outlook.com>
Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com>
This commit is contained in:
Raboneko
2026-06-27 19:19:57 -05:00
committed by GitHub
parent 7739489554
commit 0b5d893ad4
2 changed files with 4 additions and 4 deletions
+1
View File
@@ -4,5 +4,6 @@ project pkg {
}
labels {
nightly = 1
mock = 1
}
}
@@ -1,13 +1,12 @@
%global commit 0a022f149000bdaed644c2609e19aa7b8badf825
%global commit_date 20260626
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global debug_package %nil
# terrible evil no good very bad hack
# fix one day
%global __requires_exclude_from (.*)lib(.*)so(.*)
Name: legcord-nightly
%electronmeta -D
%electronmeta -aD
Version: %commit_date.%shortcommit
Release: 1%{?dist}
License: OSL-3.0 AND %{electron_license}
@@ -18,7 +17,7 @@ Packager: Owen <owen@fyralabs.com>
Requires: xdg-utils
Obsoletes: armcord < 3.3.2-1
Conflicts: legcord
BuildRequires: anda-srpm-macros pnpm nodejs-npm git-core gcc gcc-c++ make desktop-file-utils zlib-ng-compat-devel
BuildRequires: anda-srpm-macros pnpm nodejs-npm git-core gcc gcc-c++ make desktop-file-utils zlib-ng-compat-devel nvm
%description
Legcord is a custom client designed to enhance your Discord experience
@@ -26,9 +25,9 @@ while keeping everything lightweight.
%prep
%git_clone %{url}.git %{commit}
%vendor_nodejs -v 26
%build
echo "Electron Builder" > %{rpmbuilddir}/webapp-tool.txt
%pnpm_build -r build
%install