Fixed make.ps1 MOD_SEARCH_PATHS env variable

This commit is contained in:
penev92 2023-02-26 20:28:43 +02:00 committed by abcdefg30
parent 4ceb3fe31b
commit 293d16be5b

View File

@ -292,8 +292,8 @@ if (Test-Path "user.config")
$modID = $env:MOD_ID
$env:MOD_SEARCH_PATHS = (Get-Item -Path ".\" -Verbose).FullName + "\mods,./mods"
$env:ENGINE_DIR = ".."
$env:MOD_SEARCH_PATHS = "./mods,$env:ENGINE_DIRECTORY/mods"
$env:ENGINE_DIR = ".." # Set to potentially be used by the Utility and different than $env:ENGINE_DIRECTORY, which is for the script.
# Fetch the engine if required
if ($command -eq "all" -or $command -eq "clean" -or $command -eq "check")