def METHOD_NAME(browser):
	temporary_path = '../cached'
	if (os.path.isdir(temporary_path)):
		shutil.rmtree(temporary_path, ignore_errors=True)
	os.mkdir(temporary_path)
	os.chdir(temporary_path)
	for item in os.listdir('../'):
		if (
			item != '.git' and
			item != '.github' and
			item != 'cached' and
			item != 'previews' and
			item != 'py' and
			item != 'wiki' and
			item != 'LICENSE' and
			item != 'README.md' and
			item != 'SECURITY.md' and
			item.find('.zip') == -1
		):
			s = os.path.join('../', item)
			d = os.path.join(temporary_path, item)
			if os.path.isdir(s):
				shutil.copytree(s, d, True, None)
			else:
				shutil.copy2(s, d)
	with open('manifest.json', 'r+') as json_file:
		data = json.load(json_file)
		version = data['version']
		if (browser == 'beta'):
			data['name'] = 'ImprovedTube (testing)';
		json_file.seek(0)
		json.dump(data, json_file, indent=4, sort_keys=True)
		json_file.truncate()
	archive = zipfile.ZipFile('../chromium-' + version + '.zip', 'w', zipfile.ZIP_DEFLATED)
	for root, dirs, files in os.walk('.'):
		for file in files:
			archive.write(os.path.join(root, file),
						  os.path.relpath(os.path.join(root, file),
						  				  os.path.join('.', '.')))
	archive.close()
	shutil.rmtree(temporary_path)