Skip to content

Commit 80d6813

Browse files
authored
Merge pull request #17 from gitkraken/fix/windows-blacklist
fix windows-blacklist
2 parents 4eafa0d + 54a2766 commit 80d6813

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

script/build-win32.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,12 @@ unset COMPUTED_SHA256
5151

5252
echo "-- Deleting Unneccessary Files"
5353
cd "$DESTINATION"
54-
tr -d '\r' < "$CURRENT_DIR/windows-blacklist.txt" | xargs -d '\n' rm -rf
54+
while read -r file; do
55+
if [ -f "$file" ]; then
56+
rm -f "$file"
57+
echo "Removed $file"
58+
fi
59+
done < <(tr -d '\r' < "$CURRENT_DIR/windows-blacklist.txt")
5560

5661
if [[ "$GIT_LFS_VERSION" ]]; then
5762
# download Git LFS, verify its the right contents, and unpack it

script/windows-blacklist.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ mingw64/libexec/git-core/Avalonia.Skia.dll
4040
clangarm64/libexec/git-core/Avalonia.Skia.dll
4141
mingw64/libexec/git-core/Avalonia.Themes.Fluent.dll
4242
clangarm64/libexec/git-core/Avalonia.Themes.Fluent.dll
43+
mingw64/libexec/git-core/Avalonia.Vulkan.dll
44+
clangarm64/libexec/git-core/Avalonia.Vulkan.dll
4345
mingw64/libexec/git-core/Avalonia.Win32.dll
4446
clangarm64/libexec/git-core/Avalonia.Win32.dll
4547
mingw64/libexec/git-core/edit.dll
@@ -198,6 +200,16 @@ mingw64/libexec/git-core/tk86.dll
198200
clangarm64/libexec/git-core/tk86.dll
199201
mingw64/libexec/git-core/zlib1.dll
200202
clangarm64/libexec/git-core/zlib1.dll
203+
mingw64/libexec/git-core/System.Security.Principal.Windows.dll
204+
clangarm64/libexec/git-core/System.Security.Principal.Windows.dll
205+
mingw64/libexec/git-core/System.Security.Cryptography.ProtectedData.dll
206+
clangarm64/libexec/git-core/System.Security.Cryptography.ProtectedData.dll
207+
mingw64/libexec/git-core/System.Security.AccessControl.dll
208+
clangarm64/libexec/git-core/System.Security.AccessControl.dll
209+
mingw64/libexec/git-core/System.IO.FileSystem.AccessControl.dll
210+
clangarm64/libexec/git-core/System.IO.FileSystem.AccessControl.dll
211+
mingw64/libexec/git-core/System.Diagnostics.DiagnosticSource.dll
212+
clangarm64/libexec/git-core/System.Diagnostics.DiagnosticSource.dll
201213
mingw64/share/doc
202214
clangarm64/share/doc
203215
mingw64/share/perl5

0 commit comments

Comments
 (0)