"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "build/gulpfile.vscode.win32.js" between
vscode-1.50.0.tar.gz and vscode-1.50.1.tar.gz

About: Visual Studio Code is a source code editor (available for Windows, macOS and Linux). It comes with built-in support for JavaScript, TypeScript and Node.js and has extensions for other languages (such as C++, C#, Java, Python, PHP, Go). Source code.

gulpfile.vscode.win32.js  (vscode-1.50.0):gulpfile.vscode.win32.js  (vscode-1.50.1)
skipping to change at line 57 skipping to change at line 57
const defs = keys.map(key => `/d${key}=${definitions[key]}`); const defs = keys.map(key => `/d${key}=${definitions[key]}`);
const args = [ const args = [
iss, iss,
...defs, ...defs,
`/sesrp=powershell.exe -ExecutionPolicy bypass ${signPS1} $f` `/sesrp=powershell.exe -ExecutionPolicy bypass ${signPS1} $f`
]; ];
cp.spawn(innoSetupPath, args, { stdio: ['ignore', 'inherit', 'inherit'] } ) cp.spawn(innoSetupPath, args, { stdio: ['ignore', 'inherit', 'inherit'] } )
.on('error', cb) .on('error', cb)
.on('exit', () => cb(null)); .on('exit', code => {
if (code === 0) {
cb(null);
} else {
cb(new Error(`InnoSetup returned exit code: ${cod
e}`));
}
});
} }
function buildWin32Setup(arch, target) { function buildWin32Setup(arch, target) {
if (target !== 'system' && target !== 'user') { if (target !== 'system' && target !== 'user') {
throw new Error('Invalid setup target'); throw new Error('Invalid setup target');
} }
return cb => { return cb => {
const ia32AppId = target === 'system' ? product.win32AppId : prod uct.win32UserAppId; const ia32AppId = target === 'system' ? product.win32AppId : prod uct.win32UserAppId;
const x64AppId = target === 'system' ? product.win32x64AppId : pr oduct.win32x64UserAppId; const x64AppId = target === 'system' ? product.win32x64AppId : pr oduct.win32x64UserAppId;
 End of changes. 1 change blocks. 
1 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)