mirror of
https://github.com/ciromattia/kcc
synced 2026-05-11 10:12:30 +00:00
Implemented OSX PATH change to Windows code too + minor tweaks
This commit is contained in:
1
kcc.py
1
kcc.py
@@ -52,6 +52,7 @@ else:
|
||||
if getattr(sys, 'frozen', False):
|
||||
os.chdir(os.path.dirname(os.path.abspath(sys.executable)))
|
||||
else:
|
||||
os.environ['PATH'] = os.path.dirname(os.path.abspath(__file__)) + '/other/;' + os.environ['PATH']
|
||||
os.chdir(os.path.dirname(os.path.abspath(__file__)))
|
||||
from kcc import KCC_ui
|
||||
|
||||
|
||||
Reference in New Issue
Block a user