Esempio n. 1
0
 public void ReplaceBelow(string below, string addString)
 {
     if (!File.Exists(iosConfigPath))
     {
         Debug.LogError(iosConfigPath + " is not exist!");
     }
     else
     {
         MsdkUtil.ReplaceBelow(iosConfigPath, below, addString);
     }
 }
Esempio n. 2
0
 public static void UpdateBaseInfo()
 {
     MsdkUtil.ReplaceBelow(iosConfigPath, weixin,
                           "                    <string>" + DeploySettings.Instance.WxAppId + "</string>");
     MsdkUtil.ReplaceBelow(iosConfigPath, tencentopenapi,
                           "                    <string>tencent" + DeploySettings.Instance.QqAppId + "</string>");
     MsdkUtil.ReplaceBelow(iosConfigPath, QQ,
                           "                    <string>" + DeploySettings.Instance.QqScheme + "</string>");
     MsdkUtil.ReplaceBelow(iosConfigPath, QQLaunch,
                           "                    <string>tencentlaunch" + DeploySettings.Instance.QqAppId + "</string>");
     MsdkUtil.ReplaceBelow(iosConfigPath, tencentVideo,
                           "                    <string>tencentvideo" + DeploySettings.Instance.QqAppId + "</string>");
     MsdkUtil.ReplaceBelow(iosConfigPath, offerId,
                           "        <string>" + DeploySettings.Instance.IOSOfferId + "</string>");
     MsdkUtil.ReplaceBelow(iosConfigPath, qqAppId,
                           "        <string>" + DeploySettings.Instance.QqAppId + "</string>");
     MsdkUtil.ReplaceBelow(iosConfigPath, wxAppId,
                           "        <string>" + DeploySettings.Instance.WxAppId + "</string>");
     MsdkUtil.ReplaceBelow(iosConfigPath, msdkKey,
                           "        <string>" + DeploySettings.Instance.MsdkKey + "</string>");
 }