mirror of
https://github.com/desktop/desktop
synced 2024-09-29 21:03:35 +00:00
Put the credential helper in mingw32 on arm64
This commit is contained in:
parent
8fa936e02c
commit
2ef91ff5c9
|
@ -34,6 +34,7 @@ import {
|
|||
getExecutableName,
|
||||
isPublishable,
|
||||
getIconFileName,
|
||||
getDistArchitecture,
|
||||
} from './dist-info'
|
||||
import { isGitHubActions } from './build-platforms'
|
||||
|
||||
|
@ -330,9 +331,10 @@ function copyDependencies() {
|
|||
copySync(path.resolve(projectRoot, 'app/node_modules/dugite/git'), gitDir)
|
||||
|
||||
console.log(' Copying desktop credential helper…')
|
||||
const mingw = getDistArchitecture() === 'x64' ? 'mingw64' : 'mingw32'
|
||||
const gitCoreDir =
|
||||
process.platform === 'win32'
|
||||
? path.resolve(outRoot, 'git', 'mingw64', 'libexec', 'git-core')
|
||||
? path.resolve(outRoot, 'git', mingw, 'libexec', 'git-core')
|
||||
: path.resolve(outRoot, 'git', 'libexec', 'git-core')
|
||||
|
||||
const desktopCredentialHelperTrampolineFile =
|
||||
|
|
Loading…
Reference in a new issue