diff --git a/package.py b/package.py index 65fd114d..2acadc9d 100644 --- a/package.py +++ b/package.py @@ -56,8 +56,12 @@ def package_windows(edition, dev): libs = [name for name in os.listdir('dist') if op.splitext(name)[1] in ('.pyd', '.dll', '.exe')] for lib in libs: print_and_do("upx --best \"dist\\{0}\"".format(lib)) - - print_and_do("xcopy /Y /S /I ..\\..\\help_{0}\\dupeguru_{0}_help dist\\help".format(edition)) + + help_basedir = '..\\..\\help_{0}'.format(edition) + help_dir = 'dupeguru_{0}_help'.format(edition) if edition != 'se' else 'dupeguru_help' + help_path = op.join(help_basedir, help_dir) + print "Copying {0} to dist\\help".format(help_path) + shutil.copytree(help_path, 'dist\\help') # AdvancedInstaller.com has to be in your PATH # this is so we don'a have to re-commit installer.aip at every version change diff --git a/qt/se/installer.aip b/qt/se/installer.aip index 56a51e25..fcb0b5c7 100644 --- a/qt/se/installer.aip +++ b/qt/se/installer.aip @@ -1,5 +1,5 @@ - + @@ -30,23 +30,19 @@ - - - + - - @@ -56,53 +52,45 @@ - - + - - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - - - - - @@ -229,10 +217,11 @@ + - + diff --git a/qt/se/start.py b/qt/se/start.py index 68e81251..eabb6b09 100644 --- a/qt/se/start.py +++ b/qt/se/start.py @@ -14,6 +14,10 @@ import base.dg_rc from app import DupeGuru +if sys.platform == 'win32': + import base.cxfreeze_fix + + if __name__ == "__main__": app = QApplication(sys.argv) app.setWindowIcon(QIcon(QPixmap(":/logo_se")))