Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions editor/export/export_template_manager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,13 @@ void ExportTemplateManager::_initialize_template_data() {
info.file_list = { "ios.zip" };
template_data[TemplateID::IOS] = info;
}
{
TemplateInfo info;
info.name = "visionOS";
info.description = TTRC("Build for Apple's visionOS.");
info.file_list = { "visionos.zip" };
template_data[TemplateID::VISIONOS] = info;
}

{
TemplateInfo info;
Expand Down Expand Up @@ -367,6 +374,14 @@ void ExportTemplateManager::_initialize_template_data() {
info.group = TTR("Mobile", "Platform Group");
platform_map[PlatformID::IOS] = info;
}
{
PlatformInfo info;
info.name = "visionOS";
info.icon = _get_platform_icon("visionOS");
info.templates = { TemplateID::VISIONOS };
info.group = TTR("Mobile", "Platform Group");
platform_map[PlatformID::VISIONOS] = info;
}
{
PlatformInfo info;
info.name = "Web";
Expand Down
2 changes: 2 additions & 0 deletions editor/export/export_template_manager.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ class ExportTemplateManager : public AcceptDialog {
ANDROID_SOURCE,

IOS,
VISIONOS,

ICU_DATA,
};
Expand All @@ -128,6 +129,7 @@ class ExportTemplateManager : public AcceptDialog {
WEB,
ANDROID,
IOS,
VISIONOS,
COMMON,
};

Expand Down