Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
await new Promise(resolve => {
console.log(`[${new Date()}] Starting winRcedit ...`);
rcedit(
'release/win32/Kakapo-win32-x64/Kakapo.exe',
{
icon: 'node_modules/kakapo-assets/images/desktop/app.ico',
'file-version': packagejson.version,
'product-version': packagejson.version,
'version-string': {
CompanyName: 'Kakapo',
ProductVersion: packagejson.version,
ProductName: 'Kakapo',
FileDescription: 'Kakapo',
InternalName: 'Kakapo.exe',
OriginalFilename: 'Kakapo.exe',
},
},
() => resolve(console.log(`[${new Date()}] Finished winRcedit`))
);
gulp.task("win-rcedit", cb => rcedit(config.tempDirectory + "/win32/Kakapo-win32-x64/Kakapo.exe", rceditOpts, cb));