From 3ebe45d713670d7fa1163bbaff6a0442c74a3dba Mon Sep 17 00:00:00 2001 From: Kendal Cormany Date: Sat, 26 Oct 2024 21:02:05 -0700 Subject: [PATCH] this was an object --- scripts/todesktop/afterPack.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/todesktop/afterPack.js b/scripts/todesktop/afterPack.js index 3e389785..d94ca986 100644 --- a/scripts/todesktop/afterPack.js +++ b/scripts/todesktop/afterPack.js @@ -14,10 +14,7 @@ module.exports = async ({ appOutDir, packager, outDir }) => { * arch - number - the architecture of the app. ia32 = 0, x64 = 1, armv7l = 2, arm64 = 3, universal = 4. */ - async function removeInvalidSymlinks({ - // string - appPath, - }) { + async function removeInvalidSymlinks(appPath) { const invalidSymlinksInManyLines = await new Promise((resolve, reject) => { exec(`find ${appPath}/Contents -type l ! -exec test -e {} \\; -print`, (error, stdout, stderr) => { console.log(`command: find ${appPath}/Contents -type l ! -exec test -e {} \\; -print`)