Skip to content

Commit

Permalink
Skip blank
Browse files Browse the repository at this point in the history
  • Loading branch information
KenCorma committed Aug 30, 2024
1 parent 16912f1 commit 73487ab
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion forge.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,14 @@ const config: ForgeConfig = {
const binaries = output.toString().split('\n');
binaries.forEach(async (e: string) => {

if (!e || e == '' || e == ' ') return;

// const modPath = `${buildPath}${e.slice(1)}`;
// console.log(modPath);
let outputSign = await import('child_process').then(cp => cp.execSync(
`codesign --force --deep --options runtime --verbose --sign "${process.env.SIGN_ID}" "${e}"`
));
console.log("#######", outputSign);
console.log("#######", outputSign.toString());


});
Expand Down

0 comments on commit 73487ab

Please sign in to comment.