1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-06 12:20:30 +00:00

Merge pull request #98812 from bruvzg/macos_bundles_as_file

[macOS] Handle bundles as files in the embedded file dialogs.
This commit is contained in:
Thaddeus Crews
2024-12-03 14:41:07 -06:00
9 changed files with 213 additions and 47 deletions

View File

@@ -232,6 +232,14 @@
Returns the available space on the current directory's disk, in bytes. Returns [code]0[/code] if the platform-specific method to query the available space fails.
</description>
</method>
<method name="is_bundle" qualifiers="const">
<return type="bool" />
<param index="0" name="path" type="String" />
<description>
Returns [code]true[/code] if the directory is a macOS bundle.
[b]Note:[/b] This method is implemented on macOS.
</description>
</method>
<method name="is_case_sensitive" qualifiers="const">
<return type="bool" />
<param index="0" name="path" type="String" />