1
0
mirror of https://github.com/desktop/desktop synced 2024-06-28 13:44:30 +00:00

Put the credential helper in mingw32 on arm64

This commit is contained in:
Markus Olsson 2024-06-12 16:36:31 +02:00
parent 8fa936e02c
commit 2ef91ff5c9

View File

@ -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 =