sourceTree安装时跳过登录

发布时间:2022-07-05 发布网站:脚本宝典
脚本宝典收集整理的这篇文章主要介绍了sourceTree安装时跳过登录脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。

1.访问官网,下载安装包,官网下载地址

2.双击安装包开始安装,出现如下页面后关闭(已安装):

sourceTree安装时跳过登录

3.使用运行或资源管理器输入%LocalAppData%AtlassianSourceTree进入当前用户的SourceTree目录

4.新建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
  }
]

5.通过%LocalAppData%Atlassian进入当前用户的Atlassian目录,找到SourceTree.exe_Url_xxxx/3.xxxxx/user.config文件,增加如下内容:

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

6.再次打开桌面上的SourceTree快捷方式,显示已登入。

sourceTree安装时跳过登录

End

脚本宝典总结

以上是脚本宝典为你收集整理的sourceTree安装时跳过登录全部内容,希望文章能够帮你解决sourceTree安装时跳过登录所遇到的问题。

如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。