I wanted to make the examples folder in my library read only, like the processing libraries (eg, serial), so I added this in. This means that when users try to save on top of the examples, processing will tell them they should save as another file, rather than overriding the example.
Found out how to do it from stackoverflow if interested
I wanted to make the
examples
folder in my library read only, like the processing libraries (eg,serial
), so I added this in. This means that when users try to save on top of the examples, processing will tell them they should save as another file, rather than overriding the example.Found out how to do it from stackoverflow if interested