From 3f00a255b10d58919f71b03c09b6f9752de7d2e4 Mon Sep 17 00:00:00 2001 From: Baptiste Augrain Date: Sun, 26 Dec 2021 10:34:08 +0100 Subject: [PATCH] build(win): remove superfluous files from archive (#967) --- patches/cleanup-archive.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 patches/cleanup-archive.patch diff --git a/patches/cleanup-archive.patch b/patches/cleanup-archive.patch new file mode 100644 index 0000000..7b70d5c --- /dev/null +++ b/patches/cleanup-archive.patch @@ -0,0 +1,13 @@ +diff --git a/build/gulpfile.vscode.win32.js b/build/gulpfile.vscode.win32.js +index 1a73ae9..1b87189 100644 +--- a/build/gulpfile.vscode.win32.js ++++ b/build/gulpfile.vscode.win32.js +@@ -126,7 +126,7 @@ defineWin32SetupTasks('arm64', 'user'); + + function archiveWin32Setup(arch) { + return cb => { +- const args = ['a', '-tzip', zipPath(arch), '-x!CodeSignSummary*.md', '.', '-r']; ++ const args = ['a', '-tzip', zipPath(arch), '-x!CodeSignSummary*.md', '-x!tools', '.', '-r']; + + cp.spawn(_7z, args, { stdio: 'inherit', cwd: buildPath(arch) }) + .on('error', cb)