-
Stefy Lanza (nextime / spora ) authored
- Detect if running as PyInstaller executable using sys.frozen - Use different directory priority order for PyInstaller vs development: - PyInstaller: prioritize user home directory and executable location - Development: prioritize current working directory - Include executable directory (sys.executable) as fallback for PyInstaller - Ensures diskpart script creation works reliably in both scenarios - Addresses file access issues when running as compiled executable
f4d916ba