mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-26 10:11:46 +00:00
Remove Association op cleans blenderbim & bonsai
The remove *.ifc Association removes any stale Linux BlenderBIM associations as well as Bonsai associations, this should now give a clean upgrade path. Closes #5212
This commit is contained in:
@@ -388,6 +388,10 @@ class FileUnassociate(bpy.types.Operator):
|
|||||||
"share/applications/bonsai.desktop",
|
"share/applications/bonsai.desktop",
|
||||||
"share/mime/packages/bonsai.xml",
|
"share/mime/packages/bonsai.xml",
|
||||||
"bin/bonsai",
|
"bin/bonsai",
|
||||||
|
"share/icons/hicolor/128x128/apps/blenderbim.png",
|
||||||
|
"share/applications/blenderbim.desktop",
|
||||||
|
"share/mime/packages/blenderbim.xml",
|
||||||
|
"bin/blenderbim",
|
||||||
):
|
):
|
||||||
try:
|
try:
|
||||||
os.remove(os.path.join(destdir, rel_path))
|
os.remove(os.path.join(destdir, rel_path))
|
||||||
|
|||||||
Reference in New Issue
Block a user