Downloads of v


Last Update:

30 Jan 2017

Package Maintainer(s):

Software Author(s):

  • GitHub Inc


unattended git client github scm distributed gui posh-git cli admin

GitHub Desktop



Downloads of v


Software Author(s):

  • GitHub Inc

  • 1
  • 2
  • 3
GitHub Desktop

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed

Validation Testing Passed

Verification Testing Failed


Scan Testing Successful:

No detections found in any package files


This package was rejected on 07 Apr 2017. The reviewer chocolatey-ops has listed the following reason(s):

dtgm (maintainer) on 30 Jan 2017 23:10:06 +00:00:

User 'dtgm' (maintainer) submitted package.

chocolatey-ops (reviewer) on 30 Jan 2017 23:45:10 +00:00:

GitHub has passed automated validation. It may have or may still fail other checks like testing (verification).
NOTE: No required changes that the validator checks have been flagged! It is appreciated if you fix other items, but only Requirements will hold up a package version from approval. A human review could still turn up issues a computer may not easily find.


Guidelines are strong suggestions that improve the quality of a package version. These are considered something to fix for next time to increase the quality of the package. Over time Guidelines can become Requirements. A package version can be approved without addressing Guideline comments but will reduce the quality of the package.

  • Package contains dependencies with no specified version. You should at least specify a minimum version of a dependency. More...

Suggestions are either newly introduced items that will later become Guidelines or items that are don't carry enough weight to become a Guideline. Either way they should be considered. A package version can be approved without addressing Suggestion comments.

  • The nuspec has been enhanced to allow more information related to the software. More... Please consider adding one or more of the following to the nuspec, if available:
    • docsUrl - points to the location of the wiki or docs of the software
    • mailingListUrl - points to the forum or email list group for the software
    • bugTrackerUrl - points to the location where issues and tickets can be accessed
    • projectSourceUrl - points to the location of the underlying software source

chocolatey-ops (reviewer) on 31 Jan 2017 00:31:16 +00:00:

GitHub has failed automated testing.
This is not the only check that is performed so check the package page to ensure a 'Ready' status.
Please visit for details.
The package status will be changed and will be waiting on your next actions.

  • NEW! We have a test environment for you to replicate the testing we do. This can be used at any time to test packages! See
  • Please log in and leave a review comment if you have questions and/or comments.
  • If you see the verifier needs to rerun testing against the package without resubmitting (a issue in the test results), you can do that on the package page in the review section.
  • If the verifier is incompatible with the package, please log in and leave a review comment if the package needs to bypass testing (e.g. package installs specific drivers).
  • Automated testing can also fail when a package is not completely silent or has pop ups (AutoHotKey can assist - a great example is the VeraCrypt package).
  • A package that cannot be made completely unattended should have the notSilent tag. Note that this must be approved by moderators.

chocolatey-ops (reviewer) on 20 Feb 2017 00:34:53 +00:00:

We've found GitHub v3.3.4.0 in a submitted status and waiting for your next actions. It has had no updates for 20 or more days since a reviewer has asked for corrections. Please note that if there is no response or fix of the package within 15 days of this message, this package version will automatically be closed (rejected) due to being stale.

Take action:

  • Log in to the site and respond to the review comments.
  • Resubmit fixes for this version.
  • If the package version is failing automated checks, you can self-reject the package.

If your package is failing automated testing, you can use the chocolatey test environment to manually run the verification and determine what may need to be fixed.

Note: We don't like to see packages automatically rejected. It doesn't mean that we don't value your contributions, just that we can not continue to hold packages versions in a waiting status that have possibly been abandoned. If you don't believe you will be able to fix up this version of the package within 15 days, we strongly urge you to log in to the site and respond to the review comments until you are able to.

chocolatey-ops (reviewer) on 07 Apr 2017 02:13:03 +00:00:

Unfortunately there has not been progress to move GitHub v3.3.4.0 towards an approved status within 15 days after the last review message, so we need to close (reject) the package version at this time. If you want to pick this version up and move it towards approval in the future, use the contact site admins link on the package page and we can move it back into a submitted status so you can submit updates.

Status Change - Changed status of package from 'submitted' to 'rejected'.


GitHub Desktop includes a fully functional version of msysgit — no need to install anything extra. You can pull up a PowerShell console within the context of any repository. GitHub for Windows even includes the amazing posh-git utility for your command line pleasure. Account

  • Requires a free account for creating or contributing to GitHub repositories.
  • Free to use for public projects.
  • Private repositories require a paid plan.


Write-Verbose "Setting generated package variables."
$packageName = 'github'
$packageVersion = [System.Version]''
$installerType = 'exe'
$url = ''
$checksum = 'C14957233D394EB4F86DAE0D5E5A4403'

Write-Verbose "Setting static package variables."
$checksumType = 'md5'
$silentArgs = ''
$validExitCodes = @(0)

$reg = Get-ItemProperty -Path 'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*' `
                        -ErrorAction:SilentlyContinue `
       | Where-Object {$_.DisplayName -like $packageName}
$installedVersion = [System.Version]$reg.DisplayVersion

if ($reg) {
  Write-Verbose "GitHub was found in registry, comparing versions."
  if ($installedVersion -ge $packageVersion) {  
    Write-Host "GitHub $packageVersion or newer is already installed."
  } else {
    Write-Warning "Restart GitHub to upgrade."
    Write-Debug ""
else {
  Write-Verbose "Installing GitHub."
  Write-Debug "Using AutoHotkey to silence ClickOnce framework dialog boxes."
  Write-Debug "Note some popups are minimized to taskbar."
  $scriptPath = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
  $ahkExe = 'AutoHotKey'
  $ahkFile = Join-Path $scriptPath "$($packageName)Install.ahk"
  $ahkProc = Start-Process -FilePath $ahkExe `
                           -ArgumentList $ahkFile `
  $ahkId = $ahkProc.Id
  Write-Debug "$ahkExe start time:`t$($ahkProc.StartTime.ToShortTimeString())"
  Write-Debug "Process ID:`t$ahkId"
  Write-Debug "$Env:ChocolateyInstall\helpers\functions"
  Install-ChocolateyPackage -PackageName "$packageName" `
                            -FileType "$installerType" `
                            -Url "$url" `
                            -SilentArgs "$silentArgs" `
                            -ValidExitCodes $validExitCodes `
                            -Checksum "$checksum" `
                            -ChecksumType "$checksumType"
  Write-Host @"
  Microsoft`'s ClickOnce framework is downloading and extracting the ~110 MB install files.
  This may take several minutes or longer. Please wait...

  Write-Debug "MS ClickOnce programs install outside of chocolatey control so make choco wait."
  $ahkChild = Get-WmiObject -Class Win32_Process -Filter "ParentProcessID=$ahkId"
  $ahkId = $ahkChild.ProcessId
  Write-Debug "AHK child process ID:`t$ahkId"
  if ($ahkChild.HasExited) { 
    Write-Warning "$ahkExe process was not found running. Please verify $packageName was installed."
    Write-Warning "If there was an issue, you may need to append `"--force`" to choco command."
  } else {
    Write-Verbose "`"$ahkFile`" is waiting for windows to pounce on. This may take several minutes..."
    Wait-Process -Id $ahkId
$packageName = 'github'
$packageSearch = $packageName
$installerType = 'exe'
$silentArgs = ''
$validExitCodes = @(0)

$scriptPath = $(Split-Path -parent $MyInvocation.MyCommand.Definition)
$ahkFile = Join-Path $scriptPath "$($packageName)Uninstall.ahk"
$ahkRun = "$Env:Temp\$(Get-Random).ahk"

Copy-Item $ahkFile "$ahkRun" -Force
$ahkProc = Start-Process -FilePath 'AutoHotKey' `
                         -ArgumentList $ahkRun `
Write-Debug "$ahkRun start time:`t$($ahkProc.StartTime.ToShortTimeString())"
Write-Debug "$ahkRun process ID:`t$($ahkProc.Id)"
Get-ItemProperty -Path @( 'HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*',
                          'HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*' ) `
                 -ErrorAction:SilentlyContinue `
| Where-Object   { $_.DisplayName -like "$packageSearch" } `
| ForEach-Object { Uninstall-ChocolateyPackage -PackageName "$packageName" `
                                               -FileType "$installerType" `
                                               -SilentArgs "$($_.UninstallString -Replace "[^ ]+(.*)",'$1')" `
                                               -File "$($_.UninstallString -Replace "([^ ]+).*",'$1')" `
                                               -ValidExitCodes $validExitCodes }
Remove-Item "$ahkRun" -Force
; default environment
DetectHiddenWindows, off
SetControlDelay, 20
SetKeyDelay, 10

; modified environment
DetectHiddenText, off
SetTitleMatchMode, 1

winTitleInstall = Application Install - Security Warning
winTitleInstallText = Do you want to install
winTitleOpen = Open File - Security Warning ahk_exe dfsvc.exe
winTitleOpenText = Do you want to run this file
winTitleProgress = Installing GitHub
winTitleExec = GitHub ahk_exe GitHub.exe

; Confirm start install
WinWait, %winTitleInstall%, %winTitleInstallText%
ControlClick, &Install, %winTitleInstall%

; Download progress window
; About 110 MB file with 1.0 Mbps bandwidth will download in about 15 seconds
SetTitleMatchMode, 2
WinWait, %winTitleProgress%, This may take several minutes, 5
WinMinimize, %winTitleProgress%, This may take several minutes

; Upon completion of download, files are extracted and exe is started:
;   $Env:LocalAppData\Apps\2.0\varSysUniq01\varSysUniq02\
;   gith..tion_317444273a93ac29_0002.000d_7c798cfff9a06ed4\GitHub.exe
SetTitleMatchMode, 1
WinWait, %winTitleOpen%, %winTitleOpenText%

; Multiple ControlClick's are not reliable so loop until window gone
Loop, 100 {
  IfWinExist, %winTitleOpen%, %winTitleOpenText%
    ; unblock executable
    ControlGet, chk, Checked, , Button4, %winTitleOpen%
    if chk
      ControlClick, Button4, %winTitleOpen%
    ControlClick, &Run, %winTitleOpen%
  IfWinNotExist, %winTitleOpen%, %winTitleOpenText%

WinWait, %winTitleExec%
WinClose, %winTitleExec%

; default environment
DetectHiddenWindows, off
SetControlDelay, 20

; modified environment
DetectHiddenText, off
SetTitleMatchMode, 1

winTitle = GitHub Maintenance

WinWait, %winTitle%, Choose the type of maintenance you need, 120
ControlGet, controlHwnd, Hwnd, , Remove the application, %winTitle%
ControlClick, , ahk_id %controlHwnd%
ControlClick, &OK, %winTitle%


Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Add to Builder Version Downloads Last Updated Status


Install locations:
  • $Env:LocalAppData\GitHub
  • $Env:AppData\GitHub


  • Automatically built and uploaded by dtgm
Discussion for the GitHub Desktop Package

Ground Rules:

  • This discussion is only about GitHub Desktop and the GitHub Desktop package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or GitHub Desktop, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus