Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load images from a configurable path #2

Closed
jackpot51 opened this issue Jul 14, 2017 · 2 comments
Closed

Load images from a configurable path #2

jackpot51 opened this issue Jul 14, 2017 · 2 comments

Comments

@jackpot51
Copy link
Contributor

Loving pastel so far. It is now being packaged for Redox.

The only issue is that the icons need to be loaded from an absolute path. It would be good if the base path could be passed in the compiler environment using env!, such as ASSET_PATH

@robbycerantola
Copy link
Owner

I've made some little changes so the working path will be set at compile time based on the target os .
Now it works both in linux and redox.

@jackpot51
Copy link
Contributor Author

Cool!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants