sourceTree 跳過登陸的方法

官網下載地址:https://www.sourcetreeapp.com/json

安裝過程當中,出現如圖所示:app

跳過方法,以下:spa

1. 進入本地SoureTree目錄,命令:.net

%LocalAppData%\Atlassian\SourceTree\

2. 新建accounts.json文件,且輸入內容:code

[
  {
    "$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
  }
]

3. 再次嘗試,若是依然沒有跳過登陸,請經過命令blog

%LocalAppData%\Atlassian\

而後依次打開SourceTree.exe_Url_#####/3.1.2.3027/user.config文件get

添加以下內容:it

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

4. 再次嘗試,就會提示以下界面:io

 

參考網址: http://www.javashuo.com/article/p-stnfdgey-db.htmlclass

感謝原做者的分享!!!

相關文章
相關標籤/搜索