diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-03-26 15:33:36 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2021-08-31 20:34:44 +0200 |
commit | 2daaf0fdc3e11a32f7f0c7767ae853cedfe29258 (patch) | |
tree | e82da01b6452f252ffdcfec3318762da0edbb53d /platform/javascript/export | |
parent | 794606657745e77b89523f19c5e3b69c838f0cb7 (diff) |
Make platform feature tag names lowercase
Feature tag names are still case-sensitive, but this makes built-in
feature tags more consistent.
- `Windows` -> `windows`
- `OSX` -> `osx`
- `LinuxBSD` -> `linuxbsd`
- `Android` -> `android`
- `iOS` -> `ios`
- `HTML5` -> `html5`
- `JavaScript` -> `javascript`
- `UWP` -> `uwp`
Diffstat (limited to 'platform/javascript/export')
-rw-r--r-- | platform/javascript/export/export_plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/javascript/export/export_plugin.h b/platform/javascript/export/export_plugin.h index 736edfe3a8..bdd1235259 100644 --- a/platform/javascript/export/export_plugin.h +++ b/platform/javascript/export/export_plugin.h @@ -134,7 +134,7 @@ public: virtual void get_platform_features(List<String> *r_features) override { r_features->push_back("web"); - r_features->push_back(get_os_name()); + r_features->push_back(get_os_name().to_lower()); } virtual void resolve_platform_feature_priorities(const Ref<EditorExportPreset> &p_preset, Set<String> &p_features) override { |