fix npm path (#635)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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' "
|
||||
|
||||
Reference in New Issue
Block a user