Skip to content

Commit

Permalink
fix this output log
Browse files Browse the repository at this point in the history
  • Loading branch information
KenCorma committed Oct 26, 2024
1 parent d1d5a20 commit 2dc15b4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion scripts/todesktop/postInstall.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ async function postInstall() {
const result = spawnSync('sh', [path.join(dirPath, 'scripts', 'signPython.sh')],{shell:true,stdio: 'pipe'});
// console.log(result);
fs.createFileSync('./src/macpip.txt');
fs.writeFileSync('./src/macpip.txt',JSON.stringify(result));
fs.writeFileSync('./src/macpip.txt',JSON.stringify({
log: result.stdout.toString(),
err:result.stderr.toString()
}));
console.log("finish python");
}
};
Expand Down

0 comments on commit 2dc15b4

Please sign in to comment.