diff --git a/src/archive.py b/src/archive.py index 2a60039b..62801dad 100644 --- a/src/archive.py +++ b/src/archive.py @@ -157,10 +157,12 @@ def createAppArchive(archive_path): os.makedirs( os.path.join(temp_path, 'resources', 'report', 'bower_components', 'Jed') ) os.makedirs( os.path.join(temp_path, 'resources', 'report', 'bower_components', 'jed-gettext-parser') ) os.makedirs( os.path.join(temp_path, 'resources', 'report', 'js') ) + os.makedirs( os.path.join(temp_path, 'resources', 'report', 'css') ) shutil.copy( os.path.join('..', 'resources', 'report', 'index.html'), os.path.join(temp_path, 'resources', 'report') ) shutil.copy( os.path.join('..', 'resources', 'report', 'bower_components', 'marked', 'lib', 'marked.js'), os.path.join(temp_path, 'resources', 'report', 'bower_components', 'marked', 'lib') ) shutil.copy( os.path.join('..', 'resources', 'report', 'bower_components', 'Jed', 'jed.js'), os.path.join(temp_path, 'resources', 'report', 'bower_components', 'Jed') ) shutil.copy( os.path.join('..', 'resources', 'report', 'bower_components', 'jed-gettext-parser', 'jedGettextParser.js'), os.path.join(temp_path, 'resources', 'report', 'bower_components', 'jed-gettext-parser') ) + shutil.copy( os.path.join('..', 'resources', 'report', 'css', 'dark-theme.css'), os.path.join(temp_path, 'resources', 'report', 'css') ) shutil.copytree( os.path.join('..', 'resources', 'report', 'fonts'), os.path.join(temp_path, 'resources', 'report', 'fonts') ) shutil.copy( os.path.join('..', 'resources', 'report', 'js', 'events.js'), os.path.join(temp_path, 'resources', 'report', 'js') ) shutil.copy( os.path.join('..', 'resources', 'report', 'js', 'filters.js'), os.path.join(temp_path, 'resources', 'report', 'js') ) diff --git a/src/installer.nsi b/src/installer.nsi index 71a44a5e..b2592d1a 100644 --- a/src/installer.nsi +++ b/src/installer.nsi @@ -347,6 +347,8 @@ FunctionEnd File "..\resources\report\bower_components\Jed\jed.js" SetOutPath "$INSTDIR\resources\report\bower_components\jed-gettext-parser" File "..\resources\report\bower_components\jed-gettext-parser\jedGettextParser.js" + SetOutPath "$INSTDIR\resources\report\css" + File "..\resources\report\css\dark-theme.css" SetOutPath "$INSTDIR\resources\report\fonts" File "..\resources\report\fonts\*" SetOutPath "$INSTDIR\resources\report\js" @@ -511,6 +513,7 @@ FunctionEnd Delete "$INSTDIR\resources\report\bower_components\marked\lib\marked.js" Delete "$INSTDIR\resources\report\bower_components\Jed\jed.js" Delete "$INSTDIR\resources\report\bower_components\jed-gettext-parser\jedGettextParser.js" + Delete "$INSTDIR\resources\report\css\dark-theme.css" RMDir /r "$INSTDIR\resources\report\fonts" Delete "$INSTDIR\resources\report\js\events.js" Delete "$INSTDIR\resources\report\js\filters.js"