Files
modorganizer2-linux-installer/build/runtime_hooks.py
furglitch b27d4c9377 Add basic Makefile
Currently, the resulting file will not work, but this allows us to see what adjustments need to be made to the script.
2025-11-30 21:39:41 -06:00

10 lines
262 B
Python

import sys
import os
if getattr(sys, "frozen", False):
base = getattr(sys, "_MEIPASS", None)
if base:
src_path = os.path.join(base, "src")
if os.path.isdir(src_path) and src_path not in sys.path:
sys.path.insert(0, src_path)