Skip to content

Commit

Permalink
fix(build): fix create-dmg
Browse files Browse the repository at this point in the history
  • Loading branch information
ilharp committed May 31, 2024
1 parent f680c1d commit 0af6d77
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion packages/build/tasks/pack/mac.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,14 @@ export const packMacDmg = async () => {
dir('buildMac', 'Koishi.app/Contents/MacOS/koi.yml'),
'redirect: USERDATA'
)
await tryExec('yarn', ['create-dmg', appPath, dir('buildMac'), '--overwrite'])
await tryExec('yarn', [
'workspace',
'koi-build',
'create-dmg',
appPath,
dir('buildMac'),
'--overwrite',
])
await fs.rename(
dir('buildMac', `Koishi ${koiVersion}.dmg`),
dir('dist', 'koishi.dmg')
Expand Down

0 comments on commit 0af6d77

Please sign in to comment.