Digital icon indicating copy to clipboard operation
Digital copied to clipboard

Mac: How to assign Digital.jar to open .dig files

Open mhpolymath opened this issue 1 year ago • 4 comments

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.

mhpolymath avatar Feb 11 '24 21:02 mhpolymath

I have the same issue and I can't find any information online to fix it. Does anyone know how to solve this issue?

dasobierajuk avatar Mar 11 '24 09:03 dasobierajuk

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.

mengstr avatar Mar 16 '24 13:03 mengstr

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.

SirClickALot avatar Mar 16 '24 15:03 SirClickALot

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.

mengstr avatar Mar 16 '24 16:03 mengstr