mirror of
https://github.com/sinbad/UEScripts.git
synced 2025-02-23 13:15:23 +00:00
Check out my UE4 Git plugin version for UE 4.24
This commit is contained in:
parent
0dc64b8fc3
commit
bc800cebf8
@ -21,6 +21,9 @@ function Print-Usage {
|
|||||||
Write-Output " -help : Print this help"
|
Write-Output " -help : Print this help"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$gitPluginURL = "git@github.com:sinbad/UE4GitPlugin.git"
|
||||||
|
$gitPluginBranch = "ue4_24-fixes"
|
||||||
|
|
||||||
$gitlfs_notlocked = @"
|
$gitlfs_notlocked = @"
|
||||||
*.fbx
|
*.fbx
|
||||||
*.zip
|
*.zip
|
||||||
@ -200,7 +203,14 @@ try {
|
|||||||
$engineIni["SystemSettingsEditor"] = @{"r.Editor.SkipSourceControlCheckForEditablePackages" = "1"}
|
$engineIni["SystemSettingsEditor"] = @{"r.Editor.SkipSourceControlCheckForEditablePackages" = "1"}
|
||||||
Out-IniFile -Force -InputObject $engineIni -FilePath "Config/DefaultEngine.ini"
|
Out-IniFile -Force -InputObject $engineIni -FilePath "Config/DefaultEngine.ini"
|
||||||
|
|
||||||
# TODO git submodule UE4Plugin
|
# git submodule UE4Plugin
|
||||||
|
if (!(Test-Path "Plugins/UE4GitPlugin/GitSourceControl.uplugin")) {
|
||||||
|
Write-Output "Checking out $gitPluginURL/$gitPluginBranch..."
|
||||||
|
if (!(Test-Path Plugins)) {
|
||||||
|
New-Item -ItemType Directory Plugins > $null
|
||||||
|
}
|
||||||
|
git submodule add -b $gitPluginBranch $gitPluginURL Plugins/UE4GitPlugin
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
} catch {
|
} catch {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user