Beispiel #1
0
 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);
     }
 }
Beispiel #2
0
 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);
     }
 }
Beispiel #3
0
        internal static void CopyConfigFiles(string tempFolder, string destinationFolder)
        {
            string source = Paths.Combine(new string[]
            {
                IL2CPPBuilder.GetCppOutputPath(tempFolder),
                "Data",
                "etc"
            });

            FileUtil.CopyDirectoryRecursive(source, destinationFolder);
        }
Beispiel #4
0
 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));
 }
Beispiel #6
0
 internal static void CopyEmbeddedResourceFiles(string tempFolder, string destinationFolder)
 {
     string[] components = new string[] { IL2CPPBuilder.GetCppOutputPath(tempFolder), "Data", "Resources" };
     if (< > f__am$cache0 == null)
     {
Beispiel #7
0
 internal static void CopyConfigFiles(string tempFolder, string destinationFolder)
 {
     string[] components = new string[] { IL2CPPBuilder.GetCppOutputPath(tempFolder), "Data", "etc" };
     FileUtil.CopyDirectoryRecursive(Paths.Combine(components), destinationFolder);
 }
Beispiel #8
0
 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);
     }
 }