MCPcopy
hub / github.com/desktop/desktop / getDistPath

Function getDistPath

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

Source from the content-addressed store, hash-verified

14}
15
16export function getDistPath() {
17 return Path.join(
18 getDistRoot(),
19 `${getExecutableName()}-${process.platform}-${getDistArchitecture()}`
20 )
21}
22
23export function getExecutableName() {
24 const suffix = process.env.NODE_ENV === 'development' ? '-dev' : ''

Callers 9

test-setup.tsFile · 0.90
run.tsFile · 0.90
package.tsFile · 0.90
getOSXZipPathFunction · 0.85
getWindowsInstallerPathFunction · 0.85
getWindowsStandalonePathFunction · 0.85

Calls 3

getDistRootFunction · 0.85
getExecutableNameFunction · 0.85
getDistArchitectureFunction · 0.85

Tested by

no test coverage detected