Skip to content

Commit

Permalink
开发 修复部分包移除失败
Browse files Browse the repository at this point in the history
  • Loading branch information
xushengfeng committed Sep 11, 2024
1 parent bfa0be1 commit 9301dcc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion electron-builder.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ const beforePack = async () => {
}
console.log(`移除${rmList.join(", ")}`);
for (const i of rmList) {
execSync(`pnpm uninstall node-screenshots-${i}`);
try {
execSync(`pnpm uninstall node-screenshots-${i}`);
} catch (error) {}
}
}
};
Expand Down

0 comments on commit 9301dcc

Please sign in to comment.