Fix GoofCord --class flag placement after electron binary

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
ediblerope 2026-04-09 19:47:08 +01:00
parent a914726ca9
commit f28f6ecbdf

View file

@ -10,16 +10,12 @@
# ]; # ];
#}) #})
mangohud mangohud
(pkgs.symlinkJoin { (goofcord.overrideAttrs (old: {
name = "goofcord-wrapped"; postFixup = (old.postFixup or "") + ''
paths = [ goofcord ]; substituteInPlace $out/bin/goofcord \
nativeBuildInputs = [ pkgs.makeWrapper ]; --replace-fail '/bin/electron"' '/bin/electron" --class=GoofCord'
postBuild = ''
rm $out/bin/goofcord
makeWrapper ${goofcord}/bin/goofcord $out/bin/goofcord \
--add-flags "--class=GoofCord"
''; '';
}) }))
lsfg-vk lsfg-vk
lsfg-vk-ui lsfg-vk-ui
faugus-launcher faugus-launcher