mirror of
https://github.com/desktop/desktop
synced 2024-11-04 21:00:05 +00:00
Merge pull request #18825 from desktop/32-arms-are-fewer-than-64
Put the credential helper in mingw32 on arm64
This commit is contained in:
commit
53877e549d
1 changed files with 3 additions and 1 deletions
|
@ -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