Skip to content

Commit f26c90f

Browse files
committed
removed logs + added comment
1 parent 43b1e0e commit f26c90f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

Assets/FbxExporters/Editor/InstallIntegration.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -623,13 +623,15 @@ public static void DecompressZip(string zipPath, string destPath){
623623
myProcess.StartInfo.CreateNoWindow = true;
624624
myProcess.StartInfo.UseShellExecute = false;
625625

626+
// Command line flags used:
627+
// x : extract the zip contents so that they maintain the file hierarchy
628+
// -o : specify where to extract contents
629+
// -r : recurse subdirectories
630+
// -y : auto yes to all questions (without this Unity freezes as the process waits for a response)
626631
myProcess.StartInfo.Arguments = string.Format("x \"{0}\" -o\"{1}\" -r -y", zipPath, destPath);
627632
myProcess.EnableRaisingEvents = true;
628633
myProcess.Start();
629634
myProcess.WaitForExit();
630-
631-
Debug.Log ("ran: " + myProcess.StartInfo.FileName + " " + myProcess.StartInfo.Arguments);
632-
Debug.Log ("exported to: " + destPath);
633635
}
634636
}
635637
}

0 commit comments

Comments
 (0)