We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e3fc858 commit 8629c68Copy full SHA for 8629c68
scripts/download_chromium.js
@@ -40,8 +40,12 @@ browserFetcher
40
41
if (platform === 'mac' && arch === 'arm64') {
42
// follow symlinks, dereference symlinks and copy them as files
43
+ child_process.execSync(`cp -LR ${execPath} ${outputPath}`);
44
+
45
const dsStorePath = `${outputPath}/${parts[parts.length - 1]}/.DS_Store`;
- child_process.execSync(`rm ${dsStorePath} && touch ${dsStorePath}`)
46
+ if (!fs.existsSync(dsStorePath)) {
47
+ child_process.execSync(`touch ${dsStorePath}`)
48
+ }
49
} else {
50
// follow symlinks, copy them as symlinks
51
child_process.execSync(`cp -RP ${execPath} ${outputPath}`);
0 commit comments