Previous implementation failed to load files from inside a JAR file, which led the Mechtatel engine not to start because required native libraries couldn't be loaded.
This PR fixes the issue by applying following changes:
Create a temp file for a native library and then load it
Load shader code via URL
I didn't think of this issue very well as all previous tests ran in the presence of already extracted files on my local environment.
I'll continue to work on this issue and do some refactoring in next PRs.
Overview
Previous implementation failed to load files from inside a JAR file, which led the Mechtatel engine not to start because required native libraries couldn't be loaded. This PR fixes the issue by applying following changes:
I didn't think of this issue very well as all previous tests ran in the presence of already extracted files on my local environment. I'll continue to work on this issue and do some refactoring in next PRs.