Ticket #163 (closed enhancement: fixed)
macruby_main forces a relative path
| Reported by: | jjoonathan@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | minor | Milestone: | MacRuby 0.4 |
| Component: | MacRuby | Keywords: | |
| Cc: |
Description
Sometimes it makes sense to load a script from a path external to the main bundle (say, inside an input manager or something), but macruby_main automatically prepends the main bundle's resource path, making the use of absolute paths (via ../../ etc) extremely hackish.
My proposed solution is also hackish, but it works. Simply check to see if the path starts with a "/" and don't prepend the resource folder path if that's the case.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


