diff options
author | Paweł Jastrzębski <pawelj@vulturis.eu> | 2013-09-20 10:39:38 +0200 |
---|---|---|
committer | Paweł Jastrzębski <pawelj@vulturis.eu> | 2013-09-20 10:39:38 +0200 |
commit | 727bbba8151de2c968239ea389ce642e7cbba959 (patch) | |
tree | 799833d1828aa0dc964f9078843c17611066e120 /kcc.py | |
parent | Fixed stupid typos (diff) | |
download | kcc-727bbba8151de2c968239ea389ce642e7cbba959.tar.gz kcc-727bbba8151de2c968239ea389ce642e7cbba959.tar.bz2 kcc-727bbba8151de2c968239ea389ce642e7cbba959.zip |
Linux GUI
Diffstat (limited to 'kcc.py')
-rw-r--r-- | kcc.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/kcc.py b/kcc.py index bf341ce..dec47c2 100644 --- a/kcc.py +++ b/kcc.py @@ -33,9 +33,11 @@ except ImportError: exit(1) from kcc import KCC_gui from multiprocessing import freeze_support -if sys.platform == 'darwin': +if sys.platform.startswith('darwin'): os.environ['PATH'] = '/usr/local/bin:' + os.environ['PATH'] from kcc import KCC_ui_osx as KCC_ui +elif sys.platform.startswith('linux'): + from kcc import KCC_ui_linux as KCC_ui else: from kcc import KCC_ui |