AccessKit integration for macOS, Linux, and Windows.

This commit is contained in:
Pāvels Nadtočajevs 2025-03-21 09:54:55 +02:00
parent b106dfd4f9
commit 4310cb82b8
No known key found for this signature in database
GPG key ID: 8413210218EF35D2
45 changed files with 23274 additions and 28 deletions

View file

@ -72,6 +72,11 @@ Error EditorExportPlatformLinuxBSD::export_project(const Ref<EditorExportPreset>
}
}
Ref<DirAccess> da = DirAccess::create(DirAccess::ACCESS_FILESYSTEM);
if (da->file_exists(template_path.get_base_dir().path_join("libaccesskit." + arch + ".so"))) {
da->copy(template_path.get_base_dir().path_join("libaccesskit." + arch + ".so"), p_path.get_base_dir().path_join("libaccesskit." + arch + ".so"), get_chmod_flags());
}
bool export_as_zip = p_path.ends_with("zip");
String pkg_name;