Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mhpolymath opened this issue Feb 11, 2024 · 4 comments
Open

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

mhpolymath opened this issue Feb 11, 2024 · 4 comments

Comments

@mhpolymath
Copy link

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.

@dasobierajuk
Copy link

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

@mengstr
Copy link

mengstr commented Mar 16, 2024

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.

@SirClickALot
Copy link

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.

@mengstr
Copy link

mengstr commented Mar 16, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants