mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Fixed missing icon in packaging scripts.
This commit is contained in:
@@ -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
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user