Skip to content

Commit

Permalink
Merge pull request #159 from caorushizi/fix/scripts
Browse files Browse the repository at this point in the history
fix: 🐛  pnpm actions
  • Loading branch information
caorushizi authored May 26, 2024
2 parents b2183ff + 2c92da6 commit c6e81df
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ jobs:
with:
version: latest
run_install: true
standalone: true

- name: Build & release app
run: pnpm run release
Expand Down
5 changes: 0 additions & 5 deletions packages/main/scripts/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,10 @@ export function getReleaseConfig(): Configuration {
appId: process.env.APP_ID,
copyright: process.env.APP_COPYRIGHT,
artifactName: "${productName}-setup-${arch}-${buildVersion}.${ext}",
// FIXME: 这里屏蔽 node-pty 自动重构,因为会导致打包失败
npmRebuild: true,
directories: {
output: "./release",
},
asarUnpack: [
"**/better-sqlite3/build/Release/*.node",
"**/node-pty/build/Release/**",
],
files: [
{
from: "./build",
Expand Down

0 comments on commit c6e81df

Please sign in to comment.