diff --git a/Facebook.Unity.Editor/android/FacebookAndroidUtil.cs b/Facebook.Unity.Editor/android/FacebookAndroidUtil.cs index 9daefd8b..f7a63c69 100644 --- a/Facebook.Unity.Editor/android/FacebookAndroidUtil.cs +++ b/Facebook.Unity.Editor/android/FacebookAndroidUtil.cs @@ -192,7 +192,7 @@ private static string GetKeyHash(string alias, string keyStore, string keystoreP var arguments = @"""keytool -storepass {0} -keypass {1} -exportcert -alias {2} -keystore {3} | openssl sha1 -binary | openssl base64"""; if (Application.platform == RuntimePlatform.WindowsEditor) { - proc.StartInfo.FileName = "cmd"; + proc.StartInfo.FileName = "cmd.exe"; arguments = @"/C " + arguments; } else @@ -227,7 +227,7 @@ private static bool DoesCommandExist(string command) var proc = new Process(); if (Application.platform == RuntimePlatform.WindowsEditor) { - proc.StartInfo.FileName = "cmd"; + proc.StartInfo.FileName = "cmd.exe"; proc.StartInfo.Arguments = @"/C" + command; } else