Changeset 3562:d3ae73f1963f in orange


Ignore:
Timestamp:
04/20/07 00:16:03 (7 years ago)
Author:
mitar
Branch:
default
Convert:
1a76253ec32fa2e75d1384a30f6db8aa9d4b1b4a
Message:

Moved Orange user dir on Mac.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeCanvas/orngRegistry.py

    r3518 r3562  
    219219            except: pass 
    220220        outputDir = os.path.join(applicationDir, "Orange")                  # directory for saving settings and stuff 
     221    elif sys.platform == "darwin": 
     222        applicationDir = os.path.join(user.home, "Library") 
     223        applicationDir = os.path.join(user.home, "Application Support") 
     224        outputDir = os.path.join(applicationDir, "Orange") 
    221225    else: 
    222226        outputDir = os.path.join(user.home, "Orange")                  # directory for saving settings and stuff 
Note: See TracChangeset for help on using the changeset viewer.