• 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

  • 相关阅读:
    Spark完成wordCount
    Spark介绍
    分库分表介绍
    rpc学习
    xgboost应用
    ElasticSearch 批量增加索引
    乡愁
    java futureTask的使用
    ElasticSearch 例子
    Matlab实现线性回归和逻辑回归: Linear Regression & Logistic Regression
  • 原文地址:https://www.cnblogs.com/zhenchaojia123/p/15071209.html
Copyright © 2020-2023  润新知