diff --git a/src/archive.py b/src/archive.py index b5c9a6bd..f6373cbe 100644 --- a/src/archive.py +++ b/src/archive.py @@ -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') ) diff --git a/src/installer.nsi b/src/installer.nsi index 8ba1a89c..e5128b1b 100644 --- a/src/installer.nsi +++ b/src/installer.nsi @@ -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"