Windows10避開註冊的方式安裝sourceTree

1.1.Windows10避開註冊的方式下安裝sourceTree

1.1.1.第一步

下載SourceTree,下載地址:https://product-downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-3.1.3.exe

若上面的地址無效了,可以訪問:鏈接: https://pan.baidu.com/s/1MIqyqEdm77ZGOGn19ZrFkw 提取碼: 6d56

1.1.2.第二步

接下來就是安裝了SourceTree了。
點擊”SourceTreeSetup-3.1.3.exe”,然後會提示註冊一個賬號。此時,關閉此安裝過程,然後在地址欄上輸入以下路徑:

%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
  }
]

進入AppData\Local\Atlassian\SourceTree的上一層,分別配置:

SourceTree.exe_Url_5yoa13qlgvkvzlqygk4igfht1zisrb4w\3.1.3.3158\user.config

在 <SourceTree.Properties.Settings> 的裏面增加:

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

SourceTree.exe_Url_gndlaoeh2iwzbvhp3dmwn4vu2enmze4e
在 <SourceTree.Properties.Settings> 的裏面增加:

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

然後再點擊”SourceTreeSetup-3.1.3.exe”進行安裝。接着會進入以下過程:
在這裏插入圖片描述

最終安裝成功
在這裏插入圖片描述

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章