mirror of
https://github.com/game-ci/unity-builder.git
synced 2025-07-04 12:25:19 -04:00
parent
501c67e40c
commit
7e7938581c
@ -104,7 +104,7 @@ namespace UnityBuilderAction.Versioning
|
|||||||
static string Run(string arguments)
|
static string Run(string arguments)
|
||||||
{
|
{
|
||||||
using (var process = new System.Diagnostics.Process()) {
|
using (var process = new System.Diagnostics.Process()) {
|
||||||
string workingDirectory = Application.dataPath;
|
string workingDirectory = UnityEngine.Application.dataPath;
|
||||||
|
|
||||||
int exitCode = process.Run(application, arguments, workingDirectory, out string output, out string errors);
|
int exitCode = process.Run(application, arguments, workingDirectory, out string output, out string errors);
|
||||||
if (exitCode != 0) { throw new GitException(exitCode, errors); }
|
if (exitCode != 0) { throw new GitException(exitCode, errors); }
|
||||||
|
Loading…
Reference in New Issue
Block a user