<commit_before>$packageName = "sourcetree"
$installerType = "EXE"
$installerArgs = "/passive"
$url = "https://downloads.atlassian.com/software/sourcetree/windows/SourceTreeSetup_1.8.3.exe"

if ($psISE) {
    Import-Module -name "$env:ChocolateyInstall\chocolateyinstall\helpers\chocolateyInstaller.psm1"
}

Install-ChocolateyPackage $packageName $installerType $installerArgs $url

# On my Dev VMs, I have a pre-configured folder with licensing and configuration...
if (-not (Test-Path "$env:USERPROFILE\AppData\Local\Atlassian")) {
    if (Test-Path "C:\etc\sourcetree") {
        New-Item -ItemType Directory "$env:USERPROFILE\AppData\Local\Atlassian" | Out-Null
        Copy-Item -Recurse "C:\etc\sourcetree\*" $appProfile
    }
}<commit_msg>Turns out the Atlassian AppData folder is created during install...<commit_after>$packageName = "sourcetree"
$installerType = "EXE"
$installerArgs = "/passive"
$url = "https://downloads.atlassian.com/software/sourcetree/windows/SourceTreeSetup_1.8.3.exe"

if ($psISE) {
    Import-Module -name "$env:ChocolateyInstall\chocolateyinstall\helpers\chocolateyInstaller.psm1"
}

Install-ChocolateyPackage $packageName $installerType $installerArgs $url

# On my Dev VMs, I have a pre-configured folder with licensing and configuration...
if (-not (Test-Path "$env:USERPROFILE\AppData\Local\Atlassian\SourceTree\sourcetree.license")) {
    if (Test-Path "C:\etc\sourcetree") {
        if (-not (Test-Path "$env:USERPROFILE\AppData\Local\Atlassian")) {
            New-Item -ItemType Directory "$env:USERPROFILE\AppData\Local\Atlassian" | Out-Null
        }

        Copy-Item -Recurse -Force "C:\etc\sourcetree\*" "$env:USERPROFILE\AppData\Local\Atlassian"
    }
}
{'fraction_non_alphanumeric': 0.13866039952996476, 'fraction_numerical': 0.004700352526439483, 'mean_word_length': 4.406349206349207, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4109505', 'n_tokens_mistral': 609, 'n_tokens_neox': 594, 'n_words': 108}