Test a 64 bits build
This commit is contained in:
		| @@ -31,7 +31,7 @@ if sys.platform == 'win32': | ||||
|  | ||||
| build_exe_options = dict( | ||||
| 	build_exe="dist", | ||||
| 	optimize=2, | ||||
| 	optimize=1, | ||||
| 	include_msvcr=True, | ||||
| 	zip_include_packages=["accessible_output2", "sound_lib", "arrow"], | ||||
| 	include_files=["session.defaults", "cacert.pem", "app-configuration.defaults", "locales", "sounds", "documentation", "../windows-dependencies/x86/oggenc2.exe", "../windows-dependencies/x86/bootstrap.exe", "../windows-dependencies/dictionaries", find_sound_lib_datafiles(), find_accessible_output2_datafiles()], | ||||
|   | ||||
| @@ -75,11 +75,11 @@ def find_version_data(update_type, current_version, available_update): | ||||
| 			return (False, False, False) | ||||
| 		available_description = available_update["message"] | ||||
| 		# ToDo: simplify this so it can be reused in other projects. | ||||
| 		import application | ||||
| 		if application.is_pyinstaller(): | ||||
| 			update_url = "https://code.manuelcortez.net/manuelcortez/socializer/-/jobs/artifacts/master/raw/socializer.zip?job=alpha_python3" | ||||
| 		else: | ||||
| 		import platform | ||||
| 		if platform.architecture()[0][:2] == "32": | ||||
| 			update_url = "https://code.manuelcortez.net/manuelcortez/socializer/-/jobs/artifacts/master/raw/socializer_x86.zip?job=alpha32" | ||||
| 		else: | ||||
| 			update_url = "https://code.manuelcortez.net/manuelcortez/socializer/-/jobs/artifacts/master/raw/socializer_x64.zip?job=alpha64" | ||||
| 		return (available_version, available_description, update_url) | ||||
|  | ||||
| def download_update(update_url, update_destination, requests_session, progress_callback=None, chunk_size=io.DEFAULT_BUFFER_SIZE): | ||||
|   | ||||
		Reference in New Issue
	
	Block a user