Skip to content

Commit

Permalink
fix debug symbols once and for all
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendonovich committed Dec 6, 2024
1 parent 8a65fd9 commit 3515fd3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apps/desktop/scripts/stripDebugSymbols.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @ts-check

import * as fs from "node:fs/promises";
import * as path from "node:path";
import { fileURLToPath } from "node:url";
Expand Down Expand Up @@ -33,7 +35,7 @@ async function main() {
const binaryPath = path.join(releaseDir, releaseFile);

await exec(
`dsymutil "${binaryPath}" -o "${targetDir.join(releaseFile)}.dSYM"`
`dsymutil "${binaryPath}" -o "${path.join(targetDir, releaseFile)}.dSYM"`
);
await exec(`strip "${binaryPath}"`);
}
Expand Down

1 comment on commit 3515fd3

@vercel
Copy link

@vercel vercel bot commented on 3515fd3 Dec 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.