$UserProfile = $env:USERPROFILE $MyAppDir = (Join-Path -Path $HOME -ChildPath "apps") $komorebiRelease = Invoke-RestMethod -uri "https://api.github.com/repos/LGUG2Z/komorebi/releases/latest" $komorebiReleaseInfo = $komorebiRelease.assets | Where { $_.browser_download_url.EndsWith(".zip") } | Select -First 1 $outFile = (Join-Path -Path $UserProfile -ChildPath "downloads" | Join-Path -ChildPath $kom