ndee85 / coa_tools

COA Tools is a 2D Animation Suite for blender. It offers a 2D cutout animation workflow similar to programs like spine or spriter.
GNU General Public License v3.0
885 stars 138 forks source link

coa_tools-blender28 won't install on Linuxsystems #160

Open tuebixpuppet opened 4 years ago

tuebixpuppet commented 4 years ago

Line 373 in 'init.py'

b_icon_path = os.path.join(os.path.dirname(bpy.app.binary_path), version, "datafiles", "icons", icon_name)

will produce a path that is starting like this '/usr/bin/2.82/' on linuxsystems. Which in most cases will result in a "permission denied" message.

This path should probably start with '/usr/share/blender/2.82/'

Fixing this manually to (I know this is not the proper way to do this):

b_icon_path = os.path.join("/", "usr", "share", "blender", version, "datafiles", "icons", icon_name)

seems to be working fine.