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
(pkgs.symlinkJoin {
name = "goofcord-wrapped";
paths = [ goofcord ];
nativeBuildInputs = [ pkgs.makeWrapper ];
postBuild = ''
rm $out/bin/goofcord
makeWrapper ${goofcord}/bin/goofcord $out/bin/goofcord \
--add-flags "--class=GoofCord"
(goofcord.overrideAttrs (old: {
postFixup = (old.postFixup or "") + ''
substituteInPlace $out/bin/goofcord \
--replace-fail '/bin/electron"' '/bin/electron" --class=GoofCord'
'';
})
}))
lsfg-vk
lsfg-vk-ui
faugus-launcher