Fix sqlite error on ARM build
This commit is contained in:
parent
d695216317
commit
22c41976f2
1 changed files with 8 additions and 0 deletions
|
@ -13,6 +13,14 @@ patch -u src/vs/platform/update/electron-main/updateService.win32.ts -i ../patch
|
|||
|
||||
yarn --frozen-lockfile
|
||||
yarn postinstall
|
||||
|
||||
if [[ "$BUILDARCH" == *"arm"* ]]; then
|
||||
sed -i -z 's/,\n[^\n]*arm[^\n]*//' node_modules/vscode-sqlite3/binding.gyp
|
||||
sed -i "s/Release\/sqlite'/Release\/sqlite.node'/" node_modules/vscode-sqlite3/lib/sqlite3.js
|
||||
yarn add -D electron-rebuild
|
||||
npx electron-rebuild -f -w vscode-sqlite3
|
||||
fi
|
||||
|
||||
mv product.json product.json.bak
|
||||
|
||||
# set fields in product.json
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue