Files
Ben Marsh 03675533ea Rename UE4Game -> UnrealGame, UE4Client -> UnrealClient, UE4Server -> UnrealServer.
Mostly a find/replace, though I have looked through the changes and attempted to update references to other things as necessary (eg. renaming IOS plist files for IOS). I'm not set up to test on any platforms other than windows, and was hoping to get your blessing to submit and give QA enough time as possible to uncover issues before the next milestone release.

Particular things that I know I'm not sure about:
- Android references /UE4Game/ paths everywhere (for paths on device, I think). I have no idea if I've got them all.
- I've renamed the iOS mobileprovisions, but I don't know if they need regenerating for the new app name.
- Likewise, not sure what needs to be updated for icon bundles on iOS.

Things that have not been changed:
- Windows still uses IDI_UE4ICON for its icon
- UE4CommandLine.txt
- There's still a UE4Game module which is used by content-only projects

#rb none

[CL 14301890 by Ben Marsh in ue5-main branch]
2020-09-11 15:54:42 -04:00

68 lines
1.8 KiB
Bash

#!/bin/sh
echo "Checking project"
if [ project.pbxproj.datecheck -nt ../UE4_FromPC.xcodeproj/project.pbxproj ]
then
echo "Copying project..."
mkdir -p ../UE4_FromPC.xcodeproj > /dev/null
cp project.pbxproj.datecheck ../UE4_FromPC.xcodeproj/project.pbxproj
else
echo "Project file is up to date."
fi
echo "Checking for inline breakpoint strategy"
lldbinitfile=~/.lldbinit
if grep -q "strategy" $lldbinitfile
then
echo "Strategy found... inline breakpoints already enabled"
else
echo "settings set target.inline-breakpoint-strategy always" >> ~/.lldbinit
echo "Strategy not found -> enabling all inline breakpoints"
fi
if [ -e ../../../Binaries/TVOS/$1-$2-$3$4.app.dSYM.zip.datecheck ]
then
pushd ../../../Binaries/TVOS > /dev/null
if [ $1-$2-$3$4.app.dSYM.zip.datecheck -nt $1-$2-$3.app.dSYM.zip ]
then
echo "Unzipping new .dSYM..."
mv $1-$2-$3$4.app.dSYM.zip.datecheck $1-$2-$3$4.app.dSYM.zip
unzip -o $1-$2-$3$4.app.dSYM.zip
else
echo ".dSYM is up to date."
fi
popd > /dev/null
else
echo $1"-"$2"-"$3""$4".app.dSYM not found..."
fi
if [ -e ../../../Binaries/TVOS/$1-$2-$3$4.app.dSYM ]
then
pushd ../../../Binaries/TVOS > /dev/null
cp -R $1-$2-$3$4.app.dSYM Payload/$1.app.dSYM
popd > /dev/null
fi
if [ -e ../../../Binaries/TVOS/$1$4.app.dSYM ]
then
pushd ../../../Binaries/TVOS > /dev/null
cp -R $1$4.app.dSYM Payload/$1$4.app.dSYM
popd > /dev/null
fi
if [ -e $1-Info.plist ]
then
if [ -d ../../../Intermediate/TVOS ]
then
cp -R $1-Info.plist ../../../Intermediate/TVOS/$1-Info.plist
else
if [ "$1" == "UnrealGame" ]
then
mkdir -p ../../../../Engine/Intermediate/TVOS/
cp -R $1-Info.plist ../../../../Engine/Intermediate/TVOS/$1-Info.plist
else
mkdir -p ../../../Intermediate/TVOS/
cp -R $1-Info.plist ../../../Intermediate/TVOS/$1-Info.plist
fi
fi
fi