inst-resources/core-files.nsh
changeset 0 67e1cc6cd929
child 3 0cce88c7cf7c
equal deleted inserted replaced
-1:000000000000 0:67e1cc6cd929
       
     1 !macro Core_Install
       
     2   SetOverwrite try
       
     3   SectionIn RO
       
     4   
       
     5   ; not a huge deal if this fails, it just helps me avoid dumb mistakes.
       
     6   !system 'hg -R "${ENANO_ROOT}" update'
       
     7   
       
     8   SetOutPath "$INSTDIR\apps\${PRODUCT_SHORTNAME}\htdocs"
       
     9   File /r /x .hg /x .hgtags "${ENANO_ROOT}"
       
    10 !macroend
       
    11 
       
    12 !macro Core_Uninstall
       
    13   ; I'm sorry, but 1,000 files don't deserve to be listed out.
       
    14   RmDir /r "$INSTDIR\apps\${PRODUCT_SHORTNAME}\htdocs"
       
    15 !macroend