Files
UnrealEngineUWP/Engine/Build/BatchFiles/Linux/InstallP4VUtils.sh
josh adams 384ec009e9 - Fixed up latest p4vutils for Mac/Linux, updated project to handle all platforms
- Added UserInterface static class for pulling DialogBox and Clipboard stuff, which needs per-platform implementations
- Changed Windows to install P4VUtils.exe <command>, instead of dotnet P4Utils.dll <command>
- Added scripts to build all platforms, from all platforms (using the IsWindows, IsLinux, IsOSX, WithRestricted properties in the project)
- Updated Binaries as well
#rb ryan.hummer
#preflight skip

[CL 24964516 by josh adams in ue5-main branch]
2023-04-07 10:43:57 -04:00

24 lines
607 B
Bash
Executable File

#!/bin/bash
# Copyright Epic Games, Inc. All Rights Reserved.
cd $(dirname "$0")
DestDir="$HOME/Library/Unreal Engine/P4VUtils"
SourceDir=../../../Extras/P4VUtils/Binaries/Linux
Message="Installing P4VUtils into p4v..."
if [ -e ../../../Restricted/NotForLicensees/Extras/P4VUtils ]; then
Message="Installing P4VUtils [with Epic extensions] into p4v..."
SourceDir=../../../Restricted/NotForLicensees/Extras/P4VUtils/Binaries/Linux
fi
echo
echo "Copying P4VUtils files to $DestDir..."
rm -rf "$DestDir"
mkdir -p "$DestDir"
cp -r "$SourceDir/." "$DestDir"
echo
echo $Message
"$DestDir/P4VUtils" install