I want to create an application that does nothing, except 'hand-over' to another application. So double-clicking on the app launches another app; and double-clicking on the app's files opens them in the other app.
Why? Because I want to set custom file icons to a particular file type. So I'm using a dummy app as the 'default' app for the file type, before handing to the real app.
In Mojave, I can do this: create a boilerplate application in Xcode, add the document type and icons; then switch out the app's binary for a hard link to the binary of the app I want.
However, this doesn't work on Catalina , for 'security reasons'. <rolls eyes> I even tried re-signing my app with the hard link in the bundle, but that still doesn't work. The app just crashes on launch.
Is there another way that I can do this? Or are such things forbidden?
I've tried creating an Automator or AppleScript application that just opens the target app, passing the documents to it, but I can't work out how to modify the Info.plist without getting a 'No Entry' sign on the app.
PS: How do you browse through these forums? I'll be amazed if anyone reads this.
Why? Because I want to set custom file icons to a particular file type. So I'm using a dummy app as the 'default' app for the file type, before handing to the real app.
In Mojave, I can do this: create a boilerplate application in Xcode, add the document type and icons; then switch out the app's binary for a hard link to the binary of the app I want.
However, this doesn't work on Catalina , for 'security reasons'. <rolls eyes> I even tried re-signing my app with the hard link in the bundle, but that still doesn't work. The app just crashes on launch.
Is there another way that I can do this? Or are such things forbidden?
I've tried creating an Automator or AppleScript application that just opens the target app, passing the documents to it, but I can't work out how to modify the Info.plist without getting a 'No Entry' sign on the app.
PS: How do you browse through these forums? I'll be amazed if anyone reads this.