Question
If a library needs certain assets (such as images), what's the recommended way to automatically output that alongside the compiled executable? I don't want to embed the assets into the executable, I'd ideally have them written in the same folder as the executable.
Actual Use-Case
CEF (the Chromium Embedded Framework, which Servo broke its support for ) takes a path to a slave executable. Right now I'm
include_bytes!
ing the slave into the main executable, then writing it to a temporary file on startup, which is okay because it's only 12KB, but it's definitely not ideal.