美文网首页
Sourceetree免注册方法

Sourceetree免注册方法

作者: 李大鱼_ | 来源:发表于2020-03-04 13:25 被阅读0次

    %LocalAppData%\Atlassian\SourceTree\下 新增accounts.json

    
    [
      {
        "$id": "1",
        "$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity",
        "Authenticate": true,
        "HostInstance": {
          "$id": "2",
          "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountInstance, SourceTree.Host.AtlassianAccount",
          "Host": {
            "$id": "3",
            "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountHost, SourceTree.Host.AtlassianAccount",
            "Id": "atlassian account"
          },
          "BaseUrl": "https://id.atlassian.com/"
        },
        "Credentials": {
          "$id": "4",
          "$type": "SourceTree.Model.BasicAuthCredentials, SourceTree.Api.Account",
          "Username": "",
          "Email": null
        },
        "IsDefault": false
      }
    ]
    

    如果无效,请继续:

    打开 %LocalAppData%\Atlassian,进入“SourceTree.exe_Url_iayhtc13zv3obzuz5vchezjs1az2q5ef”(注该目录可能和版本相关,不同版本的路径可能不完全一样)

    接着进入"3.xxx.xx.xx"目录,打开user.config文件,在里面加入六行代码

    <setting name="AgreedToEULA" serializeAs="String">
         <value>True</value>
    </setting>
    <setting name="AgreedToEULAVersion" serializeAs="String">
         <value>20160201</value>
    </setting>
    

    相关文章

      网友评论

          本文标题:Sourceetree免注册方法

          本文链接:https://www.haomeiwen.com/subject/jcfvlhtx.html