#How do you package a 3rd party command exe with build

9 messages · Page 1 of 1 (latest)

graceful loom
#

My project uses a static build of FFMPEG which is installed via NPM and saved in node_modules. It runs fine via dev but when I build and run the app I get an error thrown that FFMPEG isn't found. I believe I have to make sure the exe is packaged with the build maybe?

gaunt spoke
#

you cant do so

#

better to add ffmpeg as resource file

graceful loom
#

Thanks that worked. Is there way to tell the path difference between dev and prod without using the env var? Seems like dev starts at ./assets/ but prod starts at ./resources/assets/

gaunt spoke
graceful loom
#

Cheers

outer ledge
#

I'm running on a similar issue, how do you add files as resources?

cedar panther
outer ledge