nzbgetcom / nzbget

efficient usenet downloader
https://nzbget.com
GNU General Public License v2.0
289 stars 15 forks source link

Mac: Can't open files of this type #86

Open Fossil01 opened 6 months ago

Fossil01 commented 6 months ago

Getting this when double clicking an NZB in Finder on Mac: CleanShot 2024-01-06 at 11 31 06@2x

dnzbk commented 6 months ago

Yes, we are aware of this problem. I'll take a look at it as soon as I have some free time.

Fossil01 commented 4 months ago

This is still an issue :-)

dnzbk commented 4 months ago

Sure it is. Sorry, very busy right now, but I'll try to find time and fix this problem soon.

Fossil01 commented 4 months ago

Thanks

dnzbk commented 4 months ago

I have tried to figure out the problem but unfortunately I haven't succeeded so far. I have very little experience with Cocoa and Objective-c to fix it right now. I'll come back to this problem a little later. Sorry for that.

Fossil01 commented 4 months ago

It might be this:

(void)application:(NSApplication *)sender openFiles:(NSArray *)filenames

Although no clue where to add to test.

dnzbk commented 4 months ago

It's not a problem to make this message not appear using this method. The problem I faced is to add the opened nzb file to the download queue after the daemon starts. I tried using an additional task (NSTask) to add the nzb file to the download queue after the daemon started, but unfortunately nothing worked.