Skip to content

Commit 7bfeb7f

Browse files
author
Steven Noonan
committed
fix namespace collision for multiple proton installs
Signed-off-by: Steven Noonan <steven@valvesoftware.com>
1 parent b3ecf24 commit 7bfeb7f

2 files changed

Lines changed: 3 additions & 5 deletions

File tree

build/makefile_base.mak

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ $(DIST_VERSION): | $(DST_DIR)
263263
cp $(DIST_VERSION) $(DST_BASE)/
264264

265265
$(DIST_COMPAT_MANIFEST): $(COMPAT_MANIFEST_TEMPLATE) $(MAKEFILE_DEP) | $(DST_DIR)
266-
sed -r 's|//##DISPLAY_NAME##|"display_name" "'$(BUILD_NAME)'"|' $< > $@
266+
sed -r 's|##BUILD_NAME##|$(BUILD_NAME)|' $< > $@
267267

268268
$(DIST_GECKO_DIR):
269269
mkdir -p $@

compatibilitytool.vdf.template

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
{
33
"compat_tools"
44
{
5-
"proton-localbuild" // Internal name of this tool
5+
"##BUILD_NAME##" // Internal name of this tool
66
{
77
// Can register this tool with Steam in two ways:
88
//
@@ -14,9 +14,7 @@
1414
"install_path" "."
1515

1616
// For this template, we're going to substitute the display_name key in here, e.g.:
17-
// "display_name" "Proton - local build 3/2"
18-
19-
//##DISPLAY_NAME##
17+
"display_name" "##BUILD_NAME##"
2018

2119
"from_oslist" "windows"
2220
"to_oslist" "linux"

0 commit comments

Comments
 (0)