MCPcopy
hub / github.com/desktop/desktop / packageOSX

Function packageOSX

script/package.ts:53–61  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51)
52
53function packageOSX() {
54 const dest = getOSXZipPath()
55 rmSync(dest, { recursive: true, force: true })
56
57 console.log('Packaging for macOS…')
58 cp.execSync(
59 `ditto -ck --keepParent "${distPath}/${productName}.app" "${dest}"`
60 )
61}
62
63function packageWindows() {
64 const iconSource = join(getIconDirectory(), 'icon-logo.ico')

Callers 1

package.tsFile · 0.85

Calls 2

getOSXZipPathFunction · 0.90
logMethod · 0.45

Tested by

no test coverage detected