We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6badf28 commit 314e701Copy full SHA for 314e701
installer.mjs
@@ -296,15 +296,15 @@ platforms.forEach((dataFor) => {
296
file = file.replace(/.sfx/g, dataFor.platform + '.sfx');
297
let location = join(binaryDestination, (process.platform == 'win32' && !dataFor.source.includes('7z1900.exe') ? 'other32' : ''));
298
to = join(location, file);
299
- fs.moveSync(from, to, {
+ fs.copySync(from, to, {
300
overwrite: true
301
});
302
303
if (dataFor.platform != 'win32')
304
makeExecutable([file], location);
305
console.log('Sfx module ' + file + ' copied successfully!');
306
} else if (dataFor.platform == process.platform) {
307
308
309
310
0 commit comments