Skip to content

Commit 3a80e83

Browse files
committed
fixup! windows: simplify Inno setup defn and reduce payload size
1 parent 70e5f72 commit 3a80e83

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/windows/Installer.Windows/layout.ps1

+4
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ Copy-Item -Path "$PAYLOAD/git-credential-manager.exe" `
5353
Copy-Item -Path "$PAYLOAD/git-credential-manager.exe.config" `
5454
-Destination "$PAYLOAD/git-credential-manager-core.exe.config"
5555

56+
# Delete libraries that are not needed for Windows but find their way
57+
# into the publish output.
58+
Remove-Item -Path "$PAYLOAD/*.dylib" -Force
59+
5660
# Delete extraneous files that get included for other architectures
5761
# We only care about x86 as the core GCM executable is only targeting x86
5862
Remove-Item -Path "$PAYLOAD/arm/" -Recurse -Force

0 commit comments

Comments
 (0)