You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 22, 2021. It is now read-only.
Not to be unexpected, of course, attempting to execute the bash script, "mac_githash.sh", described in the book will cause a Win32 exception when the AppBuilder's Build process is called when running Unity on Windows.
I suggest the following validation check (added to the GitHash() method in the Builder class):
private static string GitHash ( )
{
if (Application.platform == RuntimePlatform.OSXEditor) {
string command = batchPath + "/mac_githash.sh";
string output = ExecuteCommand (command);
// We trim the output to remove new lines at the end.
return output.Trim();
}
else {
return "Not Implemented for Builds from Windows";
}
}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Not to be unexpected, of course, attempting to execute the bash script, "mac_githash.sh", described in the book will cause a Win32 exception when the AppBuilder's Build process is called when running Unity on Windows.
I suggest the following validation check (added to the GitHash() method in the Builder class):
The text was updated successfully, but these errors were encountered: