Esempio n. 1
0
        /// <summary>
        /// 对选择的游戏包和选择的所有渠道,执行打包
        /// </summary>
        private void Combine_Click(object sender, EventArgs e)
        {
            //String dirTarget = @"D:\sci\网游打包工具2\工具缓存目录\奥特曼OL无推送底包12.22_@_2016_12_26_09.44.33";
            //String packageName = "com.ltgame.atmollt.leshi";
            ////R_process.getRes_typeList(dirTarget, packageName);

            //R_process.generateResTypeList = R_process.getRes_typeList(dirTarget, packageName);          // 获取新的包名路径下,现有的R文件类型信息
            //R_process.CreateR_smali(R_process.generateResTypeList, dirTarget + "\\smali", packageName, OutPut);     // 根据现有的R资源类型生成对应R.smali文件

            //String dirTarget = @"E:\SVN\workSpace\apkTool\files\APK_Base\工具缓存目录\ltsdk_56_leshi_v2.2.1";
            //R_process.appendunknown(dirTarget, OutPut);

            //Combine_Logic();


            //String dir = @"C:\Users\wangzhongyuan\Desktop\vtlanmen\1000_0002643_1\smali";
            //R_process.getR_smaliPath(dir);

            //String dirTarget = "D:\\sci\\网游打包工具2\\工具缓存目录\\unity1_@_2017_01_24_10.43.58\\smali\\android\\support\\v7\\appcompat";
            //R_process.getRes_typeList(dirTarget);

            //string ctXML = @"C:\Users\wangzhongyuan\Desktop\电信_移动\AndroidManifestCT.xml";
            //string unityXML = @"C:\Users\wangzhongyuan\Desktop\电信_移动\AndroidManifestUnity.xml";
            //string outputXML = @"C:\Users\wangzhongyuan\Desktop\电信_移动\AndroidManifestOutput.xml";
            //xmlNode.Combine(ctXML, unityXML, outputXML, true, null, null);

            //string ctXML = @"C:\Users\wangzhongyuan\Desktop\电信_移动\AndroidManifestCT2.xml";
            //string outputXML = @"C:\Users\wangzhongyuan\Desktop\电信_移动\AndroidManifestOutput.xml";
            //xmlNode.ParseTest(ctXML, outputXML);

            Cmd.ThreadRun(Combine_Logic, this, Combine, "打包中...");  // 在新的线程中执行打包


            //String publicXML = @"D:\sci\网游打包工具2\工具缓存目录\public_空工程生成.xml";
            //String targetDir = @"D:\sci\网游打包工具2\工具缓存目录\base";
            //R_process.rebuidR_smali(publicXML, targetDir, "com.game.test.pac", OutPut);
        }
Esempio n. 2
0
 /// <summary>
 /// apk解包、打包
 /// </summary>
 private void unPack_Click(object sender, EventArgs e)
 {
     Apktool.clearDirInfo();
     Cmd.ThreadRun(UnPack_Logic, this, unPack, "执行中...");
 }
Esempio n. 3
0
 /// <summary>
 /// 执行apk解包文件混合逻辑
 /// </summary>
 private void Combine_Click(object sender, EventArgs e)
 {
     Apktool.clearDirInfo();
     Cmd.ThreadRun(Combine_Logic, this, Combine, "执行中...");
 }