internal static void CopyMetadataFiles(string tempFolder, string destinationFolder) { foreach (var file in Directory.GetFiles(Paths.Combine(IL2CPPBuilder.GetCppOutputPath(tempFolder), "Data", "Metadata")).Where(f => f.EndsWith(BinaryMetadataSuffix))) { File.Copy(file, Paths.Combine(destinationFolder, Path.GetFileName(file)), true); } }
internal static void CopyEmbeddedResourceFiles(string tempFolder, string destinationFolder) { foreach (var file in Directory.GetFiles(Paths.Combine(IL2CPPBuilder.GetCppOutputPath(tempFolder), "Data", "Resources")).Where(f => f.EndsWith("-resources.dat"))) { File.Copy(file, Paths.Combine(destinationFolder, Path.GetFileName(file)), true); } }
internal static void CopyConfigFiles(string tempFolder, string destinationFolder) { string source = Paths.Combine(new string[] { IL2CPPBuilder.GetCppOutputPath(tempFolder), "Data", "etc" }); FileUtil.CopyDirectoryRecursive(source, destinationFolder); }
internal static void CopyMetadataFiles(string tempFolder, string destinationFolder) { foreach (string current in from f in Directory.GetFiles(Paths.Combine(new string[] { IL2CPPBuilder.GetCppOutputPath(tempFolder), "Data", "Metadata" })) where f.EndsWith("-metadata.dat") select f) { File.Copy(current, Paths.Combine(new string[] { destinationFolder, Path.GetFileName(current) }), true); } }
public string GetCppOutputDirectoryInStagingArea() { return(IL2CPPBuilder.GetCppOutputPath(this.m_TempFolder)); }
internal static void CopyEmbeddedResourceFiles(string tempFolder, string destinationFolder) { string[] components = new string[] { IL2CPPBuilder.GetCppOutputPath(tempFolder), "Data", "Resources" }; if (< > f__am$cache0 == null) {
internal static void CopyConfigFiles(string tempFolder, string destinationFolder) { string[] components = new string[] { IL2CPPBuilder.GetCppOutputPath(tempFolder), "Data", "etc" }; FileUtil.CopyDirectoryRecursive(Paths.Combine(components), destinationFolder); }
internal static void CopyMetadataFiles(string tempFolder, string destinationFolder) { foreach (string str in ((IEnumerable <string>)Directory.GetFiles(Paths.Combine(IL2CPPBuilder.GetCppOutputPath(tempFolder), "Data", "Metadata"))).Where <string>((Func <string, bool>)(f => f.EndsWith("-metadata.dat")))) { File.Copy(str, Paths.Combine(destinationFolder, Path.GetFileName(str)), 1 != 0); } }