Changeset 868

Show
Ignore:
Timestamp:
06/07/07 10:04:39 (2 years ago)
Author:
nonhebel
Message:

Mods to handle Microsoft Vista.

Location:
trunk
Files:
7 modified

Legend:

Unmodified
Added
Removed
  • trunk/jahplayer/bootstrap.py

    r714 r868  
    99# This is required for the executable generated from py2exe 
    1010# to use the preinstalled openlibraries python bindings 
    11 if platform.system() == "Windows": 
     11if platform.system() == "Windows" or platform.system() == 'Microsoft': 
    1212        sys.path.append(os.environ['PYTHONPATH']) 
    1313 
  • trunk/jahplayer/footer.py

    r522 r868  
    124124                        print "launching: %s" % bundle 
    125125                        os.spawnv( os.P_NOWAIT, "/usr/bin/open", ["/usr/bin/open", "-a", bundle, pickle_file] ) 
    126                 elif platform.system() == "Windows": 
     126                elif platform.system() == "Windows" or platform.system() == 'Microsoft': 
    127127                        subprocess.Popen( [ os.environ[ "JAHTOOLSPATH" ] + "\encoder\encoder.exe", pickle_file ], env=os.environ ) 
    128128                else: 
  • trunk/jahplayer/utilities.py

    r509 r868  
    5353def get_absolute_reel( filename ): 
    5454        path = "" 
    55         if platform.system( ) == "Windows": 
     55        if platform.system( ) == "Windows" or platform.system() == 'Microsoft': 
    5656                path = os.path.join( os.environ[ "APPDATA" ], "jah" ) 
    5757        else: 
  • trunk/jahtools/jbatch/bootstrap.py

    r714 r868  
    99# This is required for the executable generated from py2exe 
    1010# to use the preinstalled openlibraries python bindings 
    11 if platform.system() == "Windows": 
     11if platform.system() == "Windows" or platform.system() == 'Microsoft': 
    1212        sys.path.append(os.environ['PYTHONPATH']) 
    1313 
  • trunk/jahtools/jbatch/keygrab.py

    r679 r868  
    33import sys 
    44 
    5 if platform.system( ) == "Windows": 
     5if platform.system( ) == "Windows" or platform.system() == 'Microsoft': 
    66        import msvcrt 
    77 
  • trunk/jahtools/jplayer/bootstrap.py

    r714 r868  
    99# This is required for the executable generated from py2exe 
    1010# to use the preinstalled openlibraries python bindings 
    11 if platform.system() == "Windows": 
     11if platform.system() == "Windows" or platform.system() == 'Microsoft': 
    1212        sys.path.append(os.environ['PYTHONPATH']) 
    1313 
  • trunk/jahtools/jplayer/utilities.py

    r558 r868  
    4343                        return path 
    4444                         
    45         elif platform.system() == "Windows": 
     45        elif platform.system() == "Windows" or platform.system() == 'Microsoft': 
    4646                try: 
    4747                        return os.path.join( os.environ[ "JAHTOOLSPATH" ], "jplayer", filename ).replace( '\\', '/' ) 
     
    5454def get_absolute_reel( filename ): 
    5555        path = "" 
    56         if platform.system( ) == "Windows": 
     56        if platform.system( ) == "Windows" or platform.system() == 'Microsoft': 
    5757                path = os.path.join( os.environ[ "APPDATA" ], "jah" ) 
    5858        else: