DIE
DIE copied to clipboard
diedir is case sensitive
closing the other one due to rebase and such
i would use this solution instead. then there are no need for environment editing.
ida_proxy.py
import imp
from os import path, environ
import sys
import idaapi
idahomedie = idaapi.idadir("plugins\\DIE")
DIE_DIR = idahomedie
DIE_NAME = idaapi.idadir("plugins\\DIE\\DIE.py")
sys.path.append(DIE_DIR)
plugin_path = path.join(DIE_DIR, DIE_NAME)
plugin = imp.load_source(__name__, plugin_path)
PLUGIN_ENTRY = plugin.PLUGIN_ENTRY```
ida always know where root dir is, so this method is better. Also place DIE.py in plugins\DIE\DIE.py