Skip to content

Commit

Permalink
Added PointsRaceMgr to file associations.
Browse files Browse the repository at this point in the history
  • Loading branch information
esitarski committed Oct 8, 2024
1 parent 9f8b581 commit 7fe1b2b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions crossmgr-install.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,14 @@ def env_setup( full=False ):
os_name = 'ubuntu'
wxpython_versions = get_wxpython_versions()

'''
# Check if this os is supported.
if os_name in wxpython_versions:
print( f'\n***** CrossMgr is not supported on: {os_name}-{os_version} *****' )
print( f'See {wxpython_extras_url} for supported Linux platforms and versions.' )
uninstall()
sys.exit( -1 )
'''

# Find the closest, lower version of wxPython.
f_os_v = float( os_version )
Expand Down Expand Up @@ -378,9 +380,10 @@ def get_ico_file( pyw_file ):

def make_file_associations( python_exe='', uninstall_assoc=False ):
suffix_for_name = {
'CrossMgr': '.cmn',
'SeriesMgr': '.smn',
'SprintMgr': '.smr',
'CrossMgr': '.cmn',
'SeriesMgr': '.smn',
'SprintMgr': '.smr',
'PointsRaceMgr': '.tp5',
}

if is_windows:
Expand Down

0 comments on commit 7fe1b2b

Please sign in to comment.