Changeset 822


Ignore:
Timestamp:
03/15/11 01:02:39 (8 years ago)
Author:
aspidites
Message:

Patch by Aspidites:

  • addded licenses and README files to windows installer script
  • removed 'screenshots' and 'saevs' directory from windows installer script
  • slightly modified setup.py (still work to do before functional again)
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/setup.nsi

    r818 r822  
    162162  FILE /r /x *svn* "${PARPG_DIR}\character_scripts\" 
    163163  !insertmacro UNINSTALL.LOG_CLOSE_INSTALL 
     164  FILE /r /x *svn* "${PARPG_DIR}\license\" 
     165  !insertmacro UNINSTALL.LOG_CLOSE_INSTALL 
    164166 
    165167  SetOutPath "$INSTDIR" 
    166168  !insertmacro UNINSTALL.LOG_OPEN_INSTALL 
    167169  FILE "${PARPG_DIR}\README" 
    168   FILE "${PARPG_DIR}\run.py" 
    169   FILE "${PARPG_DIR}\system.cfg" 
     170  FILE "${PARPG_DIR}\AUTHORS" 
     171  FILE "${PARPG_DIR}\run.py" FILE "${PARPG_DIR}\system.cfg" 
    170172   
    171173  RENAME "README" "README.txt" 
     174  RENAME "AUTHORS" "AUTHORS.txt" 
    172175  RENAME "run.py" "${EXEC_SCRIPT_NAME}" 
    173176 
    174   CreateDirectory "$INSTDIR\saves" 
    175   CreateDirectory "$INSTDIR\screenshots" 
    176177  !insertmacro UNINSTALL.LOG_CLOSE_INSTALL 
    177178  SetAutoClose true 
  • trunk/setup.py

    r820 r822  
    8585    args['data_files'] = [(os.sep + os.path.join('etc', 'parpg'), 
    8686                           [os.path.join('game', 'system.cfg')]), 
    87                           (os.path.join('share', 'parpg'), 'parpg')] 
     87                          (os.path.join('share', 'parpg'),  
     88                              [os.path.join('game', 'run.py')])] 
    8889 
    8990    for directory in ['fonts', 'gui', 'maps', 'music', 'objects',  
    90                       'quests', 'saves', 'character_scripts', 
    91                       'screenshots']: 
     91                      'quests', 'character_scripts']: 
    9292        args['data_files'] += files(os.path.join('game', directory), 
    9393                                    os.path.join('share', 'parpg')) 
Note: See TracChangeset for help on using the changeset viewer.