mirror of
https://github.com/desktop/desktop
synced 2024-08-24 18:57:33 +00:00
Delete WebView2Loader.dll from Windows builds
That file cannot be signed and makes our builds fail. More info: https://github.com/microsoft/Git-Credential-Manager-Core/issues/462
This commit is contained in:
parent
ea46d9cd7f
commit
0d86e5b82d
|
@ -40,6 +40,7 @@ import {
|
|||
getExecutableName,
|
||||
isPublishable,
|
||||
getIconFileName,
|
||||
getDistArchitecture,
|
||||
} from './dist-info'
|
||||
import { isCircleCI, isGitHubActions } from './build-platforms'
|
||||
|
||||
|
@ -376,9 +377,11 @@ function copyDependencies() {
|
|||
'Microsoft.Vsts.Authentication.dll',
|
||||
'git-askpass.exe',
|
||||
'git-credential-manager.exe',
|
||||
'WebView2Loader.dll',
|
||||
]
|
||||
|
||||
const gitCoreDir = path.join(gitDir, 'mingw64', 'libexec', 'git-core')
|
||||
const mingwFolder = getDistArchitecture() === 'x64' ? 'mingw64' : 'mingw32'
|
||||
const gitCoreDir = path.join(gitDir, mingwFolder, 'libexec', 'git-core')
|
||||
|
||||
for (const file of files) {
|
||||
const filePath = path.join(gitCoreDir, file)
|
||||
|
|
Loading…
Reference in a new issue