Fixed missing icon in packaging scripts.

This commit is contained in:
WrinklyNinja
2014-08-18 09:51:50 +01:00
parent d145b8c8dc
commit b8b28f700f
2 changed files with 7 additions and 1 deletions
+1
View File
@@ -87,6 +87,7 @@ for lang in ['es', 'ru', 'fr', 'zh_CN', 'pl', 'pt_BR', 'fi', 'de']:
shutil.copy( os.path.join('..', 'resources', 'l10n', lang, 'LC_MESSAGES', 'loot.mo'), os.path.join(temp_path, 'resources', 'l10n', lang, 'LC_MESSAGES') )
shutil.copytree( os.path.join('..', 'resources', 'report'), os.path.join(temp_path, 'resources', 'report') )
shutil.copy( os.path.join('..', 'resources', 'icon.ico'), os.path.join(temp_path, 'resources') )
shutil.copytree( os.path.join('..', 'docs', 'images'), os.path.join(temp_path, 'docs', 'images') )
shutil.copytree( os.path.join('..', 'docs', 'licenses'), os.path.join(temp_path, 'docs', 'licenses') )
+6 -1
View File
@@ -316,6 +316,10 @@ FunctionEnd
File "..\resources\report\css\font-awesome.min.css"
File "..\resources\report\fonts\fontawesome-webfont.woff"
;Install icon image.
SetOutPath "$INSTDIR\resources"
FIle "..\resources\icon.ico"
;Install documentation images.
SetOutPath "$INSTDIR\docs\images"
File "..\docs\images\*"
@@ -452,7 +456,6 @@ FunctionEnd
RMDir "$INSTDIR\docs"
;Remove resource files.
Delete "$INSTDIR\resources\report\report.html"
Delete "$INSTDIR\resources\report\js\custom.js"
Delete "$INSTDIR\resources\report\js\marked.js"
@@ -464,6 +467,8 @@ FunctionEnd
Delete "$INSTDIR\resources\report\css\font-awesome.min.css"
Delete "$INSTDIR\resources\report\fonts\fontawesome-webfont.woff"
Delete "$INSTDIR\resources\icon.ico"
;Remove language files.
Delete "$INSTDIR\resources\l10n\ru\LC_MESSAGES\loot.mo"
Delete "$INSTDIR\resources\l10n\es\LC_MESSAGES\loot.mo"