fix npm path (#635)

This commit is contained in:
ReenigneArcher
2022-12-27 14:03:00 -05:00
committed by GitHub
parent c0b042fa8a
commit c1f0daa024
10 changed files with 6 additions and 15 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ prepare() {
}
build() {
pushd "$pkgname/src_assets/common/assets/web"
pushd "$pkgname"
npm install
popd
@@ -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
+1 -1
View File
@@ -56,7 +56,7 @@ platform darwin {
}
pre-build {
system -W ${worksrcpath}/src_assets/common/assets/web "npm install"
system -W ${worksrcpath} "npm install"
}
notes-append "Run @PROJECT_NAME@ by executing 'sunshine <path to user config>', e.g. 'sunshine ~/sunshine.conf' "