jgraph / drawio-desktop

Official electron build of draw.io
https://www.diagrams.net
Apache License 2.0
50.64k stars 5.01k forks source link

Advanced config json #542

Closed PierreLev closed 1 year ago

PierreLev commented 3 years ago

Hello, I work for governement organization that use your software. I write scripts to automatically deploy programs on users' computer.

Is there a way I could copy paste a JSON File to add some customFonts for the user by default? Like on this page, without passing by the program? https://desk.draw.io/support/solutions/articles/16000104033-use-custom-fonts-in-confluence-cloud ex : { "customFonts": ["Lato", "Charter"] } I tried to change the Preferences file in AppData/Roaming/draw.io, no change.

If yes, where is it?

Thank you!

Pierre

mararad commented 3 years ago

Hi Pierre,

you could try to use Configuration under Extras in the editor. Does it help?

Regards,

slavistan commented 2 years ago

I have the same problem. A dedicated configuration file would be very useful to share configurations with other users of the desktop application.

My Linux installation already has a ~/.config/draw.io/config.json, however, this files doesn't seem to work. My attempts to configure default fonts in this file get ignored completely.

{
  "defaultFonts": [ "Tahoma" ]
}
stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. See the FAQ for more information.