Not creating the directory is a perfectly fine solution, but pop an error dialog. Silently failing is the real problem here.
Solved how? No change in 3.5 as far as I can tell. Setting autostart method to Copy to D64 and setting AutostartPrgDiskImage to point to a directory that doesn't exist leads to x64sc failing to launch if you double click a .prg, with no visible error dialog for the user. Enabling logging reveals: AUTOSTART: Loading PRG file `/Users/pelle/Downloads/genesis_project-is_that_all.prg' with autostart disk image. Disk Create: Error - Cannot create disk image `/Users/pelle/Library/Caches/vice/doesnotexist/autostart-C64SC.d64'....
The log is unavailable on Mac, I had to manually edit the vicerc to get to that output. As far as feedback goes that's not particularly helpful.
Yes, thank you, I'm well aware of drag & drop, I mentioned it in the ticket. Leaving the emulator running and launching a series of entries from a csdb compo is a convenient feature that I miss from previous releases. It's also scriptable in a way that drag & drop isn't and I had some makesfiles built around it. Feel free to see it as an enhancement request for the gtk version or a regression from the cocoa version.
Really? It used to, but I don't remember when it broke. And yes, if I double click on a file associated with VICE my expectation is that it autostarts it.
LogFileName in vicerc did the trick. There is nothing in the log when you double click a .d64 in the Finder while x64sc.app is running, so it doesn't look like the Launch Services event gets handled properly.
This is when double clicking d64 and prg files in the Finder. Double click/autostart from the file selector works as expected. Is there a way to bring up the emulator log when you've launched the app from the Finder? Unfortunately if I start from the terminal that instance doesn't handle double clicked files at all, it launches a second instance of x64sc.
Since I can run with console logging now it's a lot easier to figure out: AUTOSTART: Autodetecting image type of `/Users/pelle/Downloads/SquareBooze.prg'. Filesystem Image Probe: Error - Import GCR: Unknown GCR image version 48. Filesystem Image: Unknown disk image `/Users/pelle/Downloads/SquareBooze.prg'. Tape: Error - Cannot open file `/Users/pelle/Downloads/SquareBooze.prg' Error - CRT header invalid. CART: '/Users/pelle/Downloads/SquareBooze.prg' is not a valid CRT file. AUTOSTART: Loading PRG...