forked from naskya/firefish
dev: stop building native-utils twice as it doesn't seem to fix anything
This commit is contained in:
parent
11b29dd5a3
commit
a7076800cf
1 changed files with 2 additions and 15 deletions
13
update.sh
13
update.sh
|
@ -84,21 +84,8 @@ say "Done! We're almost there.\n"
|
|||
## prevent migration errors
|
||||
if [[ ! -f packages/backend/native-utils/built/index.js ]]; then
|
||||
say "Something went wrong orz... Gonnya try fixing that."
|
||||
running "pushd packages/backend/native-utils"
|
||||
pushd packages/backend/native-utils
|
||||
running "NODE_OPTIONS=--max_old_space_size=3072 NODE_ENV=production pnpm build"
|
||||
NODE_OPTIONS=--max_old_space_size=3072 NODE_ENV=production pnpm build
|
||||
running "popd"
|
||||
popd
|
||||
|
||||
if [[ ! -f packages/backend/native-utils/built/index.js ]]; then
|
||||
say "Something is still broken... I'll take another measure."
|
||||
running "cp neko/index.js packages/backend/native-utils/built/index.js"
|
||||
cp neko/index.js packages/backend/native-utils/built/index.js
|
||||
say "Let's see if it works...\n"
|
||||
else
|
||||
say "The issue seems to be fixed!\n"
|
||||
fi
|
||||
else
|
||||
say "It's going well so far!\n"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue