From c0c7e5215edc41ac4cbc0718e74287fe2257c47b Mon Sep 17 00:00:00 2001 From: Alfredo Palhares Date: Tue, 10 Sep 2019 15:31:44 +0100 Subject: [PATCH] Explicity copy node_modules for the CLI version Fixes #31 --- PKGBUILD | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PKGBUILD b/PKGBUILD index a79b298..410ba95 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -41,7 +41,6 @@ build() { cd "${srcdir}/${pkgname}-${pkgver}/CliClient/build/" # NOTE: Manually forcing sqlite 4.0.7 for node v12, remove later on - npm install sqlite3@4.0.7 npm install # Electron App @@ -62,6 +61,8 @@ package() { cp -R "${srcdir}/${pkgname}-${pkgver}/CliClient/build/"* \ "${pkgdir}/usr/share/${pkgname}-cli" + cp -R "${srcdir}/${pkgname}-${pkgver}/CliClient/node_modules" \ + "${pkgdir}/usr/share/${pkgname}-cli" cp -R "${srcdir}/${pkgname}-${pkgver}/ElectronClient/app/dist/linux-unpacked/"* \ "${pkgdir}/usr/share/${pkgname}"