Digital
Digital copied to clipboard
Mac: How to assign Digital.jar to open .dig files
I am running macOS Sonoma 14.3.1. and JDK21.0.2 I am trying to make digital the default "open with" application for the circuit files I made with it. Since it's not an app, mac doesn't allow me to choose it to open the files, even when I check "all applications button". Is there a workaround to do so? thank you.
I have the same issue and I can't find any information online to fix it. Does anyone know how to solve this issue?
I did it a while back but never wrote it down. I've now recreated the steps and documented it here: https://matseng.org/post/associate_dig_files_with_digital_on_macos/
I hope that it will be understandable enough and I got all the steps correct. If you don't get it working ping me and I'll see if I can help.
Nice work, thanks Mats Engstrom!
Just a noter to anyone trying it out for themselves...
The first time I tried it I had not spotted that Mats' instructions assume that the .jar is in a sub-folder called Digital...
java -jar /Applications/Digital/Digital.jar $1 >/dev/null 2>&1 &
Whereas mine was simply sitting in the root of \Applications. The upshot for me was that after setting it all up, double-clicking on a .dig file led nowhere, the Mac just did nothing.
Thanks. I've added a more prominent note about the location of the jar file in the post, so hopefully that will take care of that issue a bit better.