mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 14:31:39 +00:00
@@ -237,7 +237,7 @@ class FileAssociate(bpy.types.Operator):
|
|||||||
# tried to do the regitsry change from powershell/cmd - but even admin rights are not enough
|
# tried to do the regitsry change from powershell/cmd - but even admin rights are not enough
|
||||||
# this is why we're using .reg
|
# this is why we're using .reg
|
||||||
reg_change_path = os.path.join(src_dir, "windows_bbim_association.reg")
|
reg_change_path = os.path.join(src_dir, "windows_bbim_association.reg")
|
||||||
subprocess.run(["cmd", "/c", reg_change_path])
|
subprocess.run(["cmd", "/c", "call", reg_change_path])
|
||||||
|
|
||||||
ps_script_path = os.path.join(src_dir, "windows_bbim_association.ps1")
|
ps_script_path = os.path.join(src_dir, "windows_bbim_association.ps1")
|
||||||
# NOTE: call powershell with RunAs to get admin rights from user
|
# NOTE: call powershell with RunAs to get admin rights from user
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
Windows Registry Editor Version 5.00
|
||||||
|
|
||||||
|
[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.ifc]
|
||||||
|
[-]
|
||||||
Reference in New Issue
Block a user