### 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
cmd_args += cmd_args_list[i];
		}
	}
	const bool use_remote = (p_debug_flags & DEBUG_FLAG_REMOTE_DEBUG) || (p_debug_flags & DEBUG_FLAG_DUMB_CLIENT);
	int dbg_port = EditorSettings::get_singleton()->get("network/debug/remote_port");
	print_line("Creating temporary directory...");
	ep.step(TTR("Creating temporary directory..."), 2);
	String temp_dir;
#ifndef WINDOWS_ENABLED
	err = ssh_run_on_remote(host, port, extra_args_ssh, "powershell -command \\\"\\$tmp = Join-Path \\$Env:Temp \\$(New-Guid); New-Item -Type Directory -Path \\$tmp | Out-Null; Write-Output \\$tmp\\\"", &temp_dir);
#else
	err = ssh_run_on_remote(host, port, extra_args_ssh, "powershell -command \"$tmp = Join-Path $Env:Temp $(New-Guid); New-Item -Type Directory -Path $tmp ^| Out-Null; Write-Output $tmp\"", &temp_dir);
#endif
	if (err != OK || temp_dir.is_empty()) {
		CLEANUP_AND_RETURN(err);
	}
	print_line("Uploading archive...");
	ep.step(TTR("Uploading archive..."), 3);
	err = ssh_push_to_remote(host, port, extra_args_scp, basepath + ".zip", temp_dir);
	if (err != OK) {
		CLEANUP_AND_RETURN(err);
	}
	if (cmd_args.is_empty()) {
		cmd_args = " ";
	}
	{
		String run_script = p_preset->get("ssh_remote_deploy/run_script");
		run_script = run_script.replace("{temp_dir}", temp_dir);
		run_script = run_script.replace("{archive_name}", basepath.get_file() + ".zip");
		run_script = run_script.replace("{exe_name}", basepath.get_file() + ".exe");