• sourcetree安装跳过注册方法


     

    今天安装sourcetree一直卡在注册界面,注册并登陆成功后,也无法继续安装。。。
    1、地址栏直接输入%LocalAppData%Atlassian,接着进入SourceTree目录,创建accounts.json文件,并复制以下代码至accounts.json:

     1 [{
     2     "$id": "1",
     3     "$type": "SourceTree.Api.Host.Identity.Model.IdentityAccount, SourceTree.Api.Host.Identity",
     4     "Authenticate": true,
     5     "HostInstance": {
     6         "$id": "2",
     7         "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountInstance, SourceTree.Host.AtlassianAccount",
     8         "Host": {
     9             "$id": "3",
    10             "$type": "SourceTree.Host.Atlassianaccount.AtlassianAccountHost, SourceTree.Host.AtlassianAccount",
    11             "Id": "atlassian account"
    12         },
    13         "BaseUrl": "https://id.atlassian.com/"
    14     },
    15     "Credentials": {
    16         "$id": "4",
    17         "$type": "SourceTree.Model.BasicAuthCredentials, SourceTree.Api.Account",
    18         "Username": "",
    19         "Email": null
    20     },
    21     "IsDefault": false
    22 }]


    2、然后打开SourceTree.exe_Url_ul4qrk3hz4zqb14vcaiypmrdv255kkqk3.3.8.3848下的user.config文件(不同版本路径有所不同,我的是3.3.8版本),增加如下代码:

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


    3、重新点击SourceTree.exe安装,弹出如下窗口时,选择最后一项安装即可。

    亲测有效。

    附上文件地址

    链接:https://pan.baidu.com/s/1RjubLDVQg-02wCeMF_MGUA
    提取码:mkz9

  • 相关阅读:
    截取字符串时长度的问题
    《Asp.Net 2.0 揭秘》读书笔记(三)
    gmail的相关参数
    《Asp.Net 2.0 揭秘》读书笔记(四)
    《Asp.Net 2.0 揭秘》读书笔记(五)
    《Asp.Net 2.0 揭秘》读书笔记(一)
    今夜,我又坐在电脑面前想你
    如果你是一名经理,你必须履行经理的四项职责
    向明月买醉
    想找个人真心真意过一生
  • 原文地址:https://www.cnblogs.com/zhenchaojia123/p/15071209.html
Copyright © 2020-2023  润新知