Unverified Commit a635a0c9 authored by Michael Daniels's avatar Michael Daniels Committed by GitHub
Browse files

dwproton-bin: fix steamDisplayName in preFixup (#512245)

parents 334729d5 d6990f73
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -18,6 +18,11 @@ proton-ge-bin.overrideAttrs (
      hash = "sha256-3mfJGi2pUwPgWNZCvGD1SNHghS2HThX5Y7TrnJaEYvw=";
    };

    preFixup = ''
      substituteInPlace "$steamcompattool/compatibilitytool.vdf" \
        --replace-fail "${finalAttrs.version}" "${steamDisplayName}"
    '';

    passthru.updateScript = writeScript "update-dwproton" ''
      #!/usr/bin/env nix-shell
      #!nix-shell -i bash -p curl jq common-updater-scripts