MCPcopy
hub / github.com/desktop/desktop / getIconDirectory

Function getIconDirectory

script/dist-info.ts:156–159  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

154 * Path to the directory containing all icon assets for the current release channel.
155 */
156export function getIconDirectory() {
157 const devOrProd = getChannel() === 'development' ? 'dev' : 'prod'
158 return join(projectRoot, 'app', 'static', 'logos', devOrProd)
159}
160
161export function getChannelFromReleaseBranch(): string {
162 const branchName = process.env.GITHUB_HEAD_REF ?? ''

Callers 2

packageWindowsFunction · 0.90
packageAppFunction · 0.90

Calls 1

getChannelFunction · 0.85

Tested by

no test coverage detected