fix npm path (#635)

This commit is contained in:
ReenigneArcher 2022-12-27 14:03:00 -05:00 committed by GitHub
commit c1f0daa024
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 6 additions and 15 deletions

View file

@ -25,7 +25,7 @@ prepare() {
}
build() {
pushd "$pkgname/src_assets/common/assets/web"
pushd "$pkgname"
npm install
popd

View file

@ -142,7 +142,7 @@ modules:
NPM_CONFIG_LOGLEVEL: info
build-commands:
# Install npm dependencies
- cd ${FLATPAK_BUILDER_BUILDDIR}/src_assets/common/assets/web && npm install
- cd ${FLATPAK_BUILDER_BUILDDIR} && npm install
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DCMAKE_INSTALL_PREFIX=/app