Skip to content

Commit ff03ffd

Browse files
committed
Fix build on Windows
1 parent 7a81c64 commit ff03ffd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build.gradle

+3-3
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ project.ext {
126126
"MONO_EXE", false, {
127127
unityRootDirTree.matching {
128128
include (operatingSystem == OperatingSystem.WINDOWS ?
129-
"**/bin/mono.bat" : "**/bin/mono")
129+
"**/bin/mono.exe" : "**/bin/mono")
130130
exclude unitySearchDirExcludes
131131
}
132132
})
@@ -318,9 +318,9 @@ project.ext {
318318
pythonBootstrapDir = new File(externalToolsDir, "python_bootstrap")
319319
pythonBinDir = new File(new File(pythonBootstrapDir, "python"), "bin")
320320
// Python binary after it has been bootstrapped.
321-
pythonExe = new File(pythonBinDir, "python3")
321+
pythonExe = new File(new File(pythonBootstrapDir, "python"), "python")
322322
// Pip binary after it has been bootstrapped.
323-
pipExe = new File(pythonBinDir, "pip3")
323+
pipExe = new File(new File(new File(pythonBootstrapDir, "python"), "Scripts"), "pip3")
324324
// Python packages required by export_unity_package.py
325325
exportUnityPackageRequirements = ["absl-py", "PyYAML", "packaging"]
326326
// Python packages required by gen_guids.py

0 commit comments

Comments
 (0)