File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
pkgs/by-name/pr/proton-ge-bin Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 33 stdenvNoCC ,
44 fetchzip ,
55 writeScript ,
6+ # Can be overriden to alter the display name in steam
7+ # This could be useful if multiple versions should be installed together
8+ steamDisplayName ? "GE-Proton" ,
69} :
710stdenvNoCC . mkDerivation ( finalAttrs : {
811 pname = "proton-ge-bin" ;
@@ -39,9 +42,9 @@ stdenvNoCC.mkDerivation (finalAttrs: {
3942
4043 preFixup = ''
4144 substituteInPlace "$steamcompattool/compatibilitytool.vdf" \
42- --replace-fail "${ finalAttrs . version } " "GE-Proton "
45+ --replace-fail "${ finalAttrs . version } " "${ steamDisplayName } "
4346 substituteInPlace "$steamcompattool/proton" \
44- --replace-fail "${ finalAttrs . version } " "GE-Proton "
47+ --replace-fail "${ finalAttrs . version } " "${ steamDisplayName } "
4548 '' ;
4649
4750 /*
You can’t perform that action at this time.
0 commit comments