![]() ![]() Don't close SourceTree, it will close itself." $exe = (Get-ChildItem -Recurse "./SourceTree.exe" | select -Last 1).fullnameĮcho "Waiting 10s. $target = (Get-Item -Path ".\sourcetree").FullNameĮcho "Opening and closing SourceTree.exe to create default directories." $msi = (Get-ChildItem "*.msi" | select -Last 1).fullname $client.DownloadFile($url, (Get-Item -Path ".\").FullName "\sourcetree.msi") Here's a script that downloads version 3.3.8, unpacks MSI and copies config files to %APPDATA% to skip registrationĭownload as ZIP, in powershell run sourcetree_portable.ps1 $version="3.3.8" "$type": ".Model.IdentityAccount, ",Ģ020 update No admin, no installation, no registration ![]() "$type": ".TwoZero.OAuthTwoZeroBearerAuthenticationScheme, .TwoZero", "$type": ".TwoZero.OAuthTwoZeroCredentials, .TwoZero", You can also delete that account and do what you like. ![]() The file I used prepares a GitHub account with OAuth (you will need to apply some fresh OAuth from the edit accounts dialog). %AppData%\Atlassian\SourceTree\accounts.json (look carefully, it's now %Appdata% not %Local.%) I managed to avoid registration with the current version as of today, which is 3.3.8.Īll you need is yet an already mentioned 'accounts.json' placed in ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |