/// <summary> /// 初始化函数 /// </summary> /// <param name="apkpath">APK路径</param> /// <param name="signedapkpath">签名之后的APK存放目录</param> /// <param name="keystore">签名信息</param> public virtual void Init(string apkpath, string signedapkpath, repack_tools.tool_keystore keystore) { m_Func = new repack_tools.tool_func(); m_Func.InitApk(apkpath, signedapkpath, keystore); m_Apkpath = apkpath; m_SignedApkpath = signedapkpath; m_Keystore = keystore; }
public static repack_tools.tool_keystore GetGuijunKeyStore() { repack_tools.tool_keystore key = new repack_tools.tool_keystore(); key.KeystorePath = KeystoreFolder + @"\guijun.keystore"; key.Alias = "demo.keystore"; key.Password1 = "Guijun1975"; key.Password2 = "Guijun1975"; return key; }
public static repack_tools.tool_keystore GetPublicKeyStore() { if (Keystore == null) { Keystore = new repack_tools.tool_keystore(); Keystore.KeystorePath = stiven_keygen_file; Keystore.Alias = stiven_keygen_alias; Keystore.Password1 = stiven_keygen_password; Keystore.Password2 = stiven_keygen_password; } return Keystore; }