I wrote a Python script which uses Blender API and outputs render scene frame range. I want to execute it over a few files with no GUI/in the background. I found this thread which explains that I can put my script in path_to_blender/version/scripts/addons and later execute using blender.exe --background myFile.blend --python ./version/scripts/addons/superScript.py
The issue I'm having is that I don't know where to put my script as I installed Blender from Snap and so the file structure looks different. I found /snap/blender/current/2.83/scripts/addons but when trying to copy anything into it, it returns cp: cannot create regular file './get_scene_framerange.py': Read-only file system I also checked the following directories:
- /var/snap/
- /var/lib/snapd/
- /home/username/snap/
but only /snap/ has dir called addons/
Ideas?