mirror of
https://github.com/ValveSoftware/Proton.git
synced 2026-01-10 12:58:06 -05:00
compatibilitytool.vdf: Make sure internal tool name includes 'proton'.
This matters for builds dropped into compatibilitytools.d/. Steam uses the internal tool name to detect it's Proton and alters some behavior regarding how cloud saves work. Not including Proton in the name may lead to confusing behavior regarding saves where they are present on some builds but vanish on the other, only to reappear when switching back.
This commit is contained in:
@@ -1080,8 +1080,9 @@ all-dist: $(DIST_TOOLMANIFEST)
|
||||
|
||||
COMPAT_MANIFEST_TEMPLATE := $(SRCDIR)/compatibilitytool.vdf.template
|
||||
DIST_COMPAT_MANIFEST := $(DST_BASE)/compatibilitytool.vdf
|
||||
INTERNAL_TOOL_NAME ?= $(BUILD_NAME)-proton
|
||||
$(DIST_COMPAT_MANIFEST): $(COMPAT_MANIFEST_TEMPLATE) | $(DST_DIR)
|
||||
sed -r 's|##BUILD_NAME##|$(BUILD_NAME)|' $< > $@
|
||||
sed -r -e 's|##BUILD_NAME##|$(BUILD_NAME)|' -e 's|##INTERNAL_TOOL_NAME##|$(INTERNAL_TOOL_NAME)|' $< > $@
|
||||
|
||||
all-dist: $(DIST_COMPAT_MANIFEST)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user