dwproton-bin: fix steamDisplayName

This commit is contained in:
Pui Yong Qing
2026-04-22 11:36:51 +08:00
parent 501724f32a
commit d6990f73e8
+5
View File
@@ -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