mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-01 06:02:34 +03:00
fix: force to use powershell on windows to fix zx script crash (#1962)
This commit is contained in:
parent
ec445207d6
commit
8b3c1fb363
@ -29,6 +29,10 @@ console.log('build with following dir', {
|
||||
await cleanup();
|
||||
echo('Clean up done');
|
||||
|
||||
if (process.platform === 'win32') {
|
||||
$.shell = 'powershell.exe';
|
||||
$.prefix = '';
|
||||
}
|
||||
// step 1: build web (nextjs) dist
|
||||
cd(repoRootDir);
|
||||
await $`yarn add`;
|
||||
|
Loading…
Reference in New Issue
Block a user