Multiple installs of Processing

A very simple question:
If I install two or more versions of Processing (say 3.5.4 and 4.3), how do I get separate sketchbook folders? And how do I get different desktop shortcuts and menu items? As far I see, what I install later overwrites what is already there. I am on a Fedora 39 machine. Do I need to hack install.sh?
Thanks

EDIT. Within Processing 3.5.4 / install.sh, change a line as to have RESOURCE_NAME=processing-3-pde.
Similarly, rename as to have lib/processing-3-pde.xml, and sketchbook3.
Within home/../.processing , add

sketchbook.path.four=/home/.../sketchbook4  (for 4.3)
sketchbook.path.three=/home/.../sketchbook3

Run the modified Processing 3.5.4 / install.sh.
It should work.

(note to developers, different versions should be shipped with versioned install.sh files as to let install multiple versions without any overwriting)

2 Likes