@Sam R Contents/Library/LoginItems?
what response do you get from SMLoginItemSetEnabled?
Yes, the helper app is located in the Contents/Library/LoginItems
The SMLoginItemSetEnabled returns true. The helper app is launched on boot but it does not launch the main app.
It even works fine when notarised on macOS 10.14.6 - it just doesn't on Catalina.
This is were it goes wrong in Catalina. r is return nil on Catalina (but not on all previous macOS versions).
dim w as new NSWorkspaceMBS
dim file as FolderItem
file = app.BundleFolderMBS.parent.parent.parent.parent // get the main app bundle path
dim error as NSErrorMBS
dim configuration as new Dictionary
dim options as Integer
configuration.Value(w.NSWorkspaceLaunchConfigurationArchitecture) = w.NSBundleExecutableArchitectureX86_64
options = w.NSWorkspaceLaunchAndHideOthers
dim r as NSRunningApplicationMBS
r = w.launchApplicationAtFile(file, options, configuration, error)
if r = nil then
Maybe I need to codesign the helper app differently for Catalina?