-
Notifications
You must be signed in to change notification settings - Fork 124
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
Cannot find bundle with Bundle.module #261
Comments
What's your |
I was on Looking at the dynamically generated // For command-line tools.
Bundle.main.bundleURL, I don't exactly know how the system treats running executables from symlinks, but in terms of looking for resources, it appears to not follow the link. With the latest changes I see in |
@yonaskolb What are your thoughts on a fix for this? I'd be happy to contribute to a fix. |
I think this one is related to that: SwiftGen/SwiftGen#905 |
@jagreenwood I'm not sure how to best resolve this situation, but have 2 thoughts:
|
I have a simple executable package that defines a resource bundle and tries to reference the bundle with
Bundle.module
.When the executable is installed with Mint and then run, it throws an error
Fatal error: could not load resource bundle
because it is looking for the bundle in~/.mint/bin/
alongside the executable symlink when it is actually located in the~/mint/packages/...
directory alongside the executable.I did some testing and moving the bundle to
~/.mint/bin/
resolves the issue.The text was updated successfully, but these errors were encountered: