Skip to content

Commit d218b3b

Browse files
arthurkehrwaldfreezy
authored andcommitted
Fix compile errors on Linux
1 parent 7a7f563 commit d218b3b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Runtime/MpfWrangler.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ private Process StartMpfProcess()
344344
{
345345
// On Linux and macOS, start the process through the terminal so it has a window.
346346
#if UNITY_EDITOR_LINUX || UNITY_STANDALONE_LINUX
347-
process.StartInfo.Aguments = $"-e {process.StartInfo.FileName} {args}";
347+
process.StartInfo.Arguments = $"-e {process.StartInfo.FileName} {process.StartInfo.Arguments}";
348348
process.StartInfo.FileName = "x-terminal-emulator";
349349
#elif UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX
350350
// There is no way to pass arguments trough the macOS terminal,
@@ -450,11 +450,11 @@ private string GetExecutablePath()
450450
var dir = Constants.MpfBinaryDirWindows;
451451
var name = Constants.MpfBinaryNameWindows;
452452
#elif UNITY_EDITOR_LINUX || UNITY_STANDALONE_LINUX
453-
var dir Constants.MpfBinaryDirLinux;
454-
var name = Constants.MpfBinaryNameLinux
453+
var dir = Constants.MpfBinaryDirLinux;
454+
var name = Constants.MpfBinaryNameLinux;
455455
#elif UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX
456456
var dir = Constants.MpfBinaryDirMacOS;
457-
var name = Constants.MpfBinaryNameMacOS
457+
var name = Constants.MpfBinaryNameMacOS;
458458
#else
459459
goto case ExecutableSource.ManuallyInstalled;
460460
#endif

0 commit comments

Comments
 (0)