### Godot version

4.1.1stable

### System information

Godot v4.1.1.stable - Windows 10.0.19045 - Vulkan (Compatibility) - NVIDIA GeForce GTX 750 Ti (NVIDIA; 31.0.15.3179) - 12th Gen Intel(R) Core(TM) i5-12400F (12 Threads)

### Issue description

An incredibly minor issue - when exporting with a console wrapper icon specified it gets applied to the wrong one.

### Steps to reproduce

![image](https://github.com/godotengine/godot/assets/40964335/d3bc3cd2-6e25-402d-802d-6d87ab142f7f)
![image](https://github.com/godotengine/godot/assets/40964335/4a3e14d5-535e-45ae-88e7-b55c5ea9e46f)
As you can see, the purple godot is the main icon. The gray one is the wrapper icon.
![image](https://github.com/godotengine/godot/assets/40964335/59883a9e-bde1-4094-a4d5-372ee031e936)
Yet when we export, they are flipped.
![image](https://github.com/godotengine/godot/assets/40964335/877ec766-0b5b-4e92-b3c9-50dd05b3be39)
![image](https://github.com/godotengine/godot/assets/40964335/1dcad3c7-b036-40ee-b05d-1f3be4e16341)
They both are the main one when only the main icon is specified.

### Minimal reproduction project

N/A
}
	pkg_name = OS::get_singleton()->get_safe_dir_name(pkg_name);
	
	String path = p_path;
	String tmp_dir_path = EditorPaths::get_singleton()->get_cache_dir().path_join(pkg_name);
	Ref<DirAccess> tmp_app_dir = DirAccess::create_for_path(tmp_dir_path);
	if (export_as_zip) {
		if (tmp_app_dir.is_null()) {
			return ERR_CANT_CREATE;
		}
		if (DirAccess::exists(tmp_dir_path)) {
			if (tmp_app_dir->change_dir(tmp_dir_path) == OK) {
				tmp_app_dir->erase_contents_recursive();
			}
		}
		tmp_app_dir->make_dir_recursive(tmp_dir_path);
		path = tmp_dir_path.path_join(p_path.get_file().get_basename() + ".exe");
	}
	
	String pck_path = path;
	if (embedded) {
		pck_path = pck_path.get_basename() + ".tmp";
	}
	Error err = EditorExportPlatformPC::export_project(p_preset, p_debug, pck_path, p_flags);
	if (p_preset->get("codesign/enable") && err == OK) {
		_code_sign(p_preset, pck_path);
		String wrapper_path = p_path.get_basename() + ".console.exe";
		if (FileAccess::exists(wrapper_path)) {
			_code_sign(p_preset, wrapper_path);
		}