Esempio n. 1
0
 private void hasautopathFile()
 {
     if (autopathwrite == null)
     {
         autopathwrite = new FileTextChangeManager(@"./egameCopyConfig/autopath.txt");
     }
     FilesAndDirsChangeManager.hasSomeFile(@"./egameCopyConfig/autopath.txt", true);
 }
Esempio n. 2
0
        private static void addIndexXml()
        {
            if (!FilesAndDirsChangeManager.hasSomeFile(path + @"/Index.xml", true))
            {
                write.TxtPath = path + @"/Index.xml";
                string p = @"<?xml version=""1.0"" encoding=""utf-8""?>
<index>
	<brand>
		<main>brand/Main.swf?v=1.0.01291356</main>
		<skin>brand/Skin.swf?v=1.0.01291356</skin>
	</brand>
	<app>game/Game.swf?v="     + PathManager.GetInstance().VersionTxt + @"</app>
</index>";
                write.addOneLine(p);
            }
            ;
        }
Esempio n. 3
0
        public static void addStartTitle()
        {
            if (write == null)
            {
                write = new FileTextChangeManager();
            }
            addIndexXml();

            write.TxtPath = path + @"\" + filename;
            if (!FilesAndDirsChangeManager.hasSomeFile(write.TxtPath, true))
            {
                write.addOneLine(@"## 版本 (" + PathManager.GetInstance().VersionTxt + ")");
                write.addOneLine(@"## 内测");
                write.addOneLine(@"## 步骤");
                Log.trace("创建文件到 " + write.TxtPath + " 成功");
            }
            else
            {
                write.addOneLine("最新记录");
            };
        }