mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
[macOS] Re-add support for the _sc_ inside app bundle. Update docs.
This commit is contained in:
@@ -64,7 +64,9 @@
|
||||
<return type="bool" />
|
||||
<description>
|
||||
Returns [code]true[/code] if the editor is marked as self-contained, [code]false[/code] otherwise. When self-contained mode is enabled, user configuration, data and cache files are saved in an [code]editor_data/[/code] folder next to the editor binary. This makes portable usage easier and ensures the Godot editor minimizes file writes outside its own folder. Self-contained mode is not available for exported projects.
|
||||
Self-contained mode can be enabled by creating a file named [code]._sc_[/code] or [code]_sc_[/code] in the same folder as the editor binary while the editor is not running. See also [method get_self_contained_file].
|
||||
Self-contained mode can be enabled by creating a file named [code]._sc_[/code] or [code]_sc_[/code] in the same folder as the editor binary or macOS .app bundle while the editor is not running. See also [method get_self_contained_file].
|
||||
[b]Note:[/b] On macOS, quarantine flag should be manually removed before using self-contained mode, see [url=https://docs.godotengine.org/en/stable/tutorials/export/running_on_macos.html]Running on macOS[/url].
|
||||
[b]Note:[/b] On macOS, placing [code]_sc_[/code] or any other file inside .app bundle will break digital signature and make it non-portable, consider placing it in the same folder as the .app bundle instead.
|
||||
[b]Note:[/b] The Steam release of Godot uses self-contained mode by default.
|
||||
</description>
|
||||
</method>
|
||||
|
||||
Reference in New Issue
Block a user