Fix Xitano's bug by fixing my viewer_manifest bootstrap paradox
This commit is contained in:
@@ -723,11 +723,13 @@ class WindowsManifest(ViewerManifest):
|
|||||||
substitution_strings['installer_file'] = installer_file
|
substitution_strings['installer_file'] = installer_file
|
||||||
|
|
||||||
# Packaging the installer takes forever, dodge it if we can.
|
# Packaging the installer takes forever, dodge it if we can.
|
||||||
binary_mod = os.path.getmtime(os.path.join(self.args['configuration'], self.final_exe()))
|
installer_path = os.path.join(self.args['configuration'], installer_file);
|
||||||
installer_mod = os.path.getmtime(os.path.join(self.args['configuration'], installer_file))
|
if os.path.isfile(installer_path):
|
||||||
if binary_mod <= installer_mod:
|
binary_mod = os.path.getmtime(os.path.join(self.args['configuration'], self.final_exe()))
|
||||||
print("Binary is unchanged since last package, touch the binary to trigger repackage.")
|
installer_mod = os.path.getmtime(installer_path)
|
||||||
exit();
|
if binary_mod <= installer_mod:
|
||||||
|
print("Binary is unchanged since last package, touch the binary or delete installer to trigger repackage.")
|
||||||
|
exit();
|
||||||
|
|
||||||
version_vars = """
|
version_vars = """
|
||||||
!define INSTEXE "%(final_exe)s"
|
!define INSTEXE "%(final_exe)s"
|
||||||
|
|||||||
Reference in New Issue
Block a user