Specify a filesystem-relative:prefix path as parent of the given prefix

27 views
Skip to first unread message

Ruben Di Battista

unread,
Feb 25, 2021, 5:19:52 AM2/25/21
to pyoxidizer-users

Hello,
I'm trying to create a macOS App bundle that has the following structure: https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html#//apple_ref/doc/uid/10000123i-CH101-SW1.

The binary is placed in MyApp.app/MacOS, while the resources should be placed in MyApp.app/Resources.

The resource.add_location does not seem to accept .. as prefix to the path.

Is there a way to specify the path to a resource relatively to the parent folder of the binary?

Gregory Szorc

unread,
Feb 27, 2021, 1:16:20 PM2/27/21
to Ruben Di Battista, pyoxidizer-users
I saw that this post was similar to https://github.com/indygreg/PyOxidizer/issues/368 so I left a thorough reply there.

(Sorry I took so long to reply - I took a mini break for PyOxidizer for a while.)

--
You received this message because you are subscribed to the Google Groups "pyoxidizer-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyoxidizer-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyoxidizer-users/1093c361-f051-4a22-8ca9-15eed966e3b7n%40googlegroups.com.

Ruben Di Battista

unread,
Feb 27, 2021, 2:38:30 PM2/27/21
to Gregory Szorc, pyoxidizer-users
Thanks. Sorry for doubling the post then.

Thanks for pyOxidizer. I love the project.
Reply all
Reply to author
Forward
0 new messages