Edit File: bootstrap.ts
import * as common from './common'; import * as process from 'process'; const errorContextMessage = 'Download Error'; (async () => { try { const config = common.getCurrentConfiguration(); const executable = config.getLocalLocation(); if (process.argv.includes('exec')) { const filenameShasum = config.getShasumFile(); const downloadUrl = config.getDownloadLocation(); const downloadError = await common.downloadExecutable( downloadUrl, executable, filenameShasum, ); if (downloadError !== undefined) { throw downloadError; } } } catch (err) { await common.logError(errorContextMessage, err); } })();
Back to File Manager