DIE icon indicating copy to clipboard operation
DIE copied to clipboard

diedir is case sensitive

Open crowell opened this issue 9 years ago • 1 comments

closing the other one due to rebase and such

crowell avatar Jun 24 '15 19:06 crowell

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

techbliss avatar Jul 08 '15 18:07 techbliss