-
Notifications
You must be signed in to change notification settings - Fork 15
Description
I'm trying to use this library from a PyInstaller-built binary aw-notify running as a subprocess in my application.
The whole thing is correctly signed with PyInstaller (see spec file). The CFBundleExecutable is aw-qt, which manages aw-notify as a subprocess.
However, the subprocess doesn't seem to get NSBundle.mainBundle.bundleIdentifier set. Which fails the check at:
@samschott wrote here:
The alternative would be to try and fake a valid bundle identifier at runtime. Some other packages do this but its a nasty hack and will prevent any apps using it from being accepted in the App store.
I am now assuming that I would need some kind of workaround like that, and that things would probably work if it wasn't for this NSBundle check (hopeful/wishful thinking).
Since the testing process is rather lengthy for me, given how I have to wait for CI to sign etc, I thought I'd make this issue before I venture further. I've only done a little bit of research on this, and am not sure if I'm likely to meet further resistance once I've worked around the bundleIdentifier check.