Skip to content

Commit 39940c9

Browse files
committed
Fixed packer paths
1 parent 52e9e15 commit 39940c9

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

BuildUnityPackages.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ $editorFiles = @("MLAPIProfiler.cs", "NetworkedAnimatorEditor.cs", "NetworkedBeh
22
$installerFiles = @("MLAPIEditor.cs")
33

44
$myPath = (Get-Item -Path ".\").FullName;
5+
$myPath = $myPath.Replace("\", "/")
56
$basePath = -join ($myPath, "/MLAPI-Editor/")
67
$builderPath = -join ($myPath, "/Libraries/Internal/UnityPackager/UnityPackager.exe")
78

@@ -21,7 +22,7 @@ $editorBuildArgs += -join ($basePath, " ", $editorOutPath, " ")
2122
For ($i=0; $i -lt $editorFiles.Count; $i++)
2223
{
2324
$editorBuildArgs += -join ($basePath, $editorFiles.Get($i), " ")
24-
$editorBuildArgs += -join ("Assets/", $editorFiles.Get($i), " ")
25+
$editorBuildArgs += -join ("Assets/Editor/MLAPI/", $editorFiles.Get($i), " ")
2526
}
2627

2728
$installerBuildArgs = ""
@@ -33,7 +34,7 @@ $installerBuildArgs += -join ($basePath, " ", $installerOutPath, " ")
3334
For ($i=0; $i -lt $installerFiles.Count; $i++)
3435
{
3536
$installerBuildArgs += -join ($basePath, $installerFiles.Get($i), " ")
36-
$installerBuildArgs += -join ("Assets/", $installerFiles.Get($i), " ")
37+
$installerBuildArgs += -join ("Assets/Editor/MLAPI/", $installerFiles.Get($i), " ")
3738
}
3839

3940
$myBuilderPath = "";
Binary file not shown.

0 commit comments

Comments
 (0)