Skip to content

Commit

Permalink
fix debug symbols script
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendonovich committed Dec 6, 2024
1 parent dfdbd72 commit 5c79f9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/desktop/scripts/stripDebugSymbols.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ const targetDir = path.join(__dirname, "../../../target");

async function main() {
const dirs = [];
const releaseDir = path.join(targetDir, "release");
let releaseDir = path.join(targetDir, "release");
const releaseFiles = await fs.readdir(releaseDir);
let releaseFile = releaseFiles.find((f) => f.startsWith("Cap"));
dirs.push(releaseDir);

if (!releaseFile) {
const releaseDir = path.join(
releaseDir = path.join(
targetDir,
`${process.env.TAURI_ENV_TARGET_TRIPLE}/release`
);
Expand Down

1 comment on commit 5c79f9c

@vercel
Copy link

@vercel vercel bot commented on 5c79f9c 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.