private static void ProcessCreateXRes(ArrayList files) { if(files.Count <= 0) throw new Exception("No DLL files!"); string fileName = Path.GetFullPath(InputParser.externalResourceName + "-netz.resources"); OutDirMan.OutDir = Path.GetDirectoryName(fileName); Logger.Log("XR Creating external resource file: " + fileName); Logger.Log(string.Empty); rm = new ResMan(); rm.ResourceFilePath = fileName; for(int i = 0; i < files.Count; i++) { InputFile inf = (InputFile)files[i]; Logger.Log("[" + (i + 1)+ " of " + files.Count + "] XR adding: " + inf.File); ProcessXRDllFile(inf); } rm.Save(); Logger.Log("Done!"); }
private static void Proceed(ArrayList files) { if (files.Count <= 0) { throw new Exception("E1009 No files"); } long start = DateTime.Now.Ticks; OutDirMan.Make(); InitResMan(); Logger.Log("Processing : " + files.Count + " file(s)\r\n"); ProcessFiles(files); rm.Save(); genData.MakeReadOnly(); if (InputParser.exeFileSet) { MakeStarterApp(); } start = DateTime.Now.Ticks - start; Logger.Log("\r\nDone [" + ElapsedTime(start) + "]"); }
private static void ProcessCreateXRes(ArrayList files) { if (files.Count <= 0) { throw new Exception("No DLL files!"); } string fileName = Path.GetFullPath(InputParser.externalResourceName + "-netz.resources"); OutDirMan.OutDir = Path.GetDirectoryName(fileName); Logger.Log("XR Creating external resource file: " + fileName); Logger.Log(string.Empty); rm = new ResMan(); rm.ResourceFilePath = fileName; for (int i = 0; i < files.Count; i++) { InputFile inf = (InputFile)files[i]; Logger.Log("[" + (i + 1) + " of " + files.Count + "] XR adding: " + inf.File); ProcessXRDllFile(inf); } rm.Save(); Logger.Log("Done!"); }