Local html files with href to local images

17 views
Skip to first unread message

Valerie

unread,
Oct 9, 2024, 7:01:28 PM10/9/24
to pyins...@googlegroups.com
Hi,
I have help files which are html files referring to local images in a sub directory.
I can access and display the local file from the exe application but it does not display the images even if the sub directory is localized next to the html file in a mac os version. (On windows it is fine).
The images sub directory has to be localized in the home directory of the user which is weird for deployment. At least I want to control the directory and have html and its images subdirectory to be at the same location.
What am I missing ?
Thanks
V.-

bwoodsend

unread,
Oct 11, 2024, 5:34:00 AM10/11/24
to PyInstaller

Nothing obvious based on that description. I knocked up an example of what I think you’re describing just to reassure myself that some unknown macOS sandboxing gremlin isn’t to blame and it seems alright to me. Here’s the example, build with pyinstaller --windowed --add-data=help:help test.py. If you can’t get your one to work based on my one then you’ll probably have to share your one (or a simplified version of it).

Reply all
Reply to author
Forward
0 new messages