mirror of
https://github.com/sinbad/UEScripts.git
synced 2025-02-23 05:05:24 +00:00
Should be PluginFile not ProjectFile
This commit is contained in:
parent
7d67fad212
commit
5202e2e63b
@ -9,14 +9,14 @@ function Get-Uplugin-Filename {
|
||||
|
||||
$projfile = ""
|
||||
if ($config -and $config.ProjectFile) {
|
||||
if (-not [System.IO.Path]::IsPathRooted($config.ProjectFile)) {
|
||||
$projfile = Join-Path $srcfolder $config.ProjectFile
|
||||
if (-not [System.IO.Path]::IsPathRooted($config.PluginFile)) {
|
||||
$projfile = Join-Path $srcfolder $config.PluginFile
|
||||
} else {
|
||||
$projfile = Resolve-Path $config.ProjectFile
|
||||
$projfile = Resolve-Path $config.PluginFile
|
||||
}
|
||||
|
||||
if (-not (Test-Path $projfile)) {
|
||||
throw "Invalid ProfileFile setting, $($config.ProjectFile) does not exist."
|
||||
throw "Invalid ProfileFile setting, $($config.PluginFile) does not exist."
|
||||
}
|
||||
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user