Skip to content

Commit

Permalink
fix windows zip
Browse files Browse the repository at this point in the history
  • Loading branch information
joaomoreno committed Jun 15, 2017
1 parent 079ad46 commit c1562a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/gulpfile.vscode.win32.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ gulp.task('vscode-win32-x64-setup', ['clean-vscode-win32-x64-setup'], buildWin32

function archiveWin32Setup(arch) {
return cb => {
const args = ['a', '-tzip', zipPath(arch), buildPath(arch), '-r'];
const args = ['a', '-tzip', zipPath(arch), '.', '-r'];

cp.spawn(_7z, args, { stdio: 'inherit' })
cp.spawn(_7z, args, { stdio: 'inherit', cwd: buildPath(arch) })
.on('error', cb)
.on('exit', () => cb(null));
};
Expand Down

0 comments on commit c1562a5

Please sign in to comment.