Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

370,855

Downloads of v 3.0.15.03:

669

Last Update:

18 Mar 2016

Package Maintainer(s):

Software Author(s):

  • GitHub Inc

Tags:

git client github scm distributed gui posh-git cli

GitHub Desktop

This is not the latest version of GitHub Desktop available.

  • 1
  • 2
  • 3

3.0.15.03 | Updated: 18 Mar 2016

Downloads:

370,855

Downloads of v 3.0.15.03:

669

Software Author(s):

  • GitHub Inc

GitHub Desktop 3.0.15.03

This is not the latest version of GitHub Desktop available.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Passed


Verification Testing Failed

Details

Scan Testing Successful:

No detections found in any package files

Details
Package Approved

This package was approved as a trusted package on 18 Mar 2016.

WARNING

This package is unlisted and hidden from package listings.

Description

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.

GitHub.com Account

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

Documentation


tools\chocolateyInstall.ps1
Write-Verbose "Setting generated variables."
$packageName = 'github'
$packageVersion = [System.Version]'3.0.15.0'
$installerType = 'exe'
$url = 'https://github-windows.s3.amazonaws.com/GitHubSetup.exe'
$checksum = 'A8FE237B447134DAA9CC1DB3323DA980'

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 "https://help.github.com/desktop/guides/getting-started/updating-github-desktop/"
  }
}
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 `
                           -Verb RunAs `
                           -PassThru
  $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
  }
}
tools\chocolateyUninstall.ps1
$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"
try {
  Copy-Item $ahkFile "$ahkRun" -Force
  $ahkProc = Start-Process -FilePath 'AutoHotKey' `
                           -ArgumentList $ahkRun `
                           -PassThru
  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\*',
                            'HKLM:\Software\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
} catch {
  throw $_.Exception
}
tools\githubInstall.ahk
; default environment
DetectHiddenWindows, off
SetControlDelay, 20
SetKeyDelay, 10

; modified environment
#NoEnv
#NoTrayIcon
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 {
  IfWinExist, %winTitleOpen%, %winTitleOpenText%
  {
    ; unblock executable
    ControlGet, chk, Checked, , Button4, %winTitleOpen%
    if chk
      ControlClick, Button4, %winTitleOpen%
    ControlClick, &Run, %winTitleOpen%
  }
  IfWinNotExist, %winTitleOpen%, %winTitleOpenText%
    Break
}

WinWait, %winTitleExec%
WinClose, %winTitleExec%

ExitApp
tools\githubUninstall.ahk
; default environment
DetectHiddenWindows, off
SetControlDelay, 20

; modified environment
#NoEnv
#NoTrayIcon
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%

ExitApp

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

Program

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

GitHub.com

Package

  • Automatically built and uploaded by dtgm
  • Fixed installer.
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