Changeset 674:03fc9cf0f556


Ignore:
Timestamp:
Sep 8, 2013, 4:47:10 PM (7 years ago)
Author:
Neil Muller <drnlmuller@…>
Branch:
default
Message:

We have icons now, so I suppose is needed.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • packaging/nagslang.nsi

    r669 r674  
    2929  !define COMBINED_LICENSE "../LICENSE.txt"
    3030  !define WS_PY2EXE_ZIP "nagslang-${WS_VERSION}.zip"
     31  !define WS_ICON "../data/icons/werewolf-sonata.ico"
     32  !define WS_WINDOWS_ICON "data\icons\werewolf-sonata.ico"
    3133  !define VCREDIST "vcredist_x86.exe"
    3234  !define VCREDIST_KEY "{FF66E9F6-83E7-3A3E-AF14-8DE9A809A6A4}"
     
    4850; Other Stuff
    4951
     52  Icon "${WS_ICON}"
    5053  SetCompress off ; all the big stuff is already compressed
    5154
     
    8487
    8588  File "${DIST_FOLDER}\${WS_PY2EXE_ZIP}"
     89  File "${WS_ICON}"
    8690
    8791  ZipDLL::extractall "$INSTDIR\${WS_PY2EXE_ZIP}" "$INSTDIR"
     
    9599
    96100  CreateShortCut "$SMPROGRAMS\Werewolf Sonata\Werewolf Sonata ${WS_VERSION}.lnk" "$INSTDIR\${WS_UNPACK}\nagslang.exe" \
    97      "" "" "" SW_SHOWNORMAL \
     101     "" "$INSTDIR\${WS_UNPACK}\${WS_WINDOWS_ICON}" "" SW_SHOWNORMAL \
    98102     "" "Werewolf Sonata"
    99103
     
    105109
    106110UninstallText "This will uninstall Werewolf Sonata ${WS_VERSION}."
     111UninstallIcon "${WS_ICON}"
    107112
    108113Section "Uninstall"
    109114  ; Delete files not deleted during install
     115
     116  Delete "$INSTDIR\${WS_ICON}"
    110117
    111118  ; Remove py2exe folder
  • setup.py

    r668 r674  
    8585    windows=[{
    8686        'script': 'scripts/nagslang',
     87        'icon_resources': [(0, "data/icons/werewolf-sonata.ico")],
    8788    }],
    8889    app=['scripts/nagslang'],
Note: See TracChangeset for help on using the changeset viewer.