Merge pull request #30 from xuhcc/sqlite-fix

Set sqlite version to 4.0.7 for electron app
main
Alfredo Palhares 2019-09-10 10:55:07 +01:00 committed by GitHub
commit 86d3b66286
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,8 @@ build() {
# Electron App
cd "${srcdir}/${pkgname}-${pkgver}/ElectronClient/app"
# NOTE: Manually forcing sqlite 4.0.7 for node v12, remove later on
npm install sqlite3@4.0.7
npm install
rsync -a --delete "${srcdir}/${pkgname}-${pkgver}/ReactNativeClient/lib/" \
"${srcdir}/${pkgname}-${pkgver}/ElectronClient/app/lib/"