Skip to content

Commit

Permalink
this was an object
Browse files Browse the repository at this point in the history
  • Loading branch information
KenCorma committed Oct 27, 2024
1 parent 3916867 commit 3ebe45d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scripts/todesktop/afterPack.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
Expand Down

0 comments on commit 3ebe45d

Please sign in to comment.