fixup! Don't ship proton dist files in a tarball anymore

Link: https://github.com/ValveSoftware/Proton/pull/5278
This commit is contained in:
Itoh Shimon 2021-11-03 12:46:24 +09:00 committed by Arkadiusz Hiler
parent 2bcba2b3cd
commit 954613435a

View file

@ -373,7 +373,8 @@ deploy: dist | $(filter-out dist deploy install redist,$(MAKECMDGOALS))
install: dist | $(filter-out dist deploy install redist,$(MAKECMDGOALS))
if [ ! -d $(STEAM_DIR) ]; then echo >&2 "!! "$(STEAM_DIR)" does not exist, cannot install"; return 1; fi
mkdir -p $(STEAM_DIR)/compatibilitytools.d/$(BUILD_NAME)
cp -af --no-dereference --preserve=mode,links $(DST_BASE)/* $(STEAM_DIR)/compatibilitytools.d/$(BUILD_NAME)
# Use -r instead of -a for sshfs
cp -rf --no-dereference --preserve=mode,links $(DST_BASE)/* $(STEAM_DIR)/compatibilitytools.d/$(BUILD_NAME)
@echo "Installed Proton to "$(STEAM_DIR)/compatibilitytools.d/$(BUILD_NAME)
@echo "You may need to restart Steam to select this tool"