mirror of
https://github.com/sinbad/UEScripts.git
synced 2025-02-23 13:15:23 +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 = ""
|
$projfile = ""
|
||||||
if ($config -and $config.ProjectFile) {
|
if ($config -and $config.ProjectFile) {
|
||||||
if (-not [System.IO.Path]::IsPathRooted($config.ProjectFile)) {
|
if (-not [System.IO.Path]::IsPathRooted($config.PluginFile)) {
|
||||||
$projfile = Join-Path $srcfolder $config.ProjectFile
|
$projfile = Join-Path $srcfolder $config.PluginFile
|
||||||
} else {
|
} else {
|
||||||
$projfile = Resolve-Path $config.ProjectFile
|
$projfile = Resolve-Path $config.PluginFile
|
||||||
}
|
}
|
||||||
|
|
||||||
if (-not (Test-Path $projfile)) {
|
if (-not (Test-Path $projfile)) {
|
||||||
throw "Invalid ProfileFile setting, $($config.ProjectFile) does not exist."
|
throw "Invalid ProfileFile setting, $($config.PluginFile) does not exist."
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user