summaryrefslogtreecommitdiffstats
path: root/doc/classes/OS.xml
diff options
context:
space:
mode:
authorDubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com>2024-10-16 19:18:17 -0500
committerDubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com>2024-10-17 11:16:37 -0500
commite7717ab517b9d4f828e5602f9b8488041ed05802 (patch)
tree7dfef15e377c976dea1899f5cab90b6265cba087 /doc/classes/OS.xml
parent4d9e62ae8b601e89b5aeba13a2a3fe49d9eb4931 (diff)
downloadredot-engine-e7717ab517b9d4f828e5602f9b8488041ed05802.tar.gz
Rebranding: Doc/
Diffstat (limited to 'doc/classes/OS.xml')
-rw-r--r--doc/classes/OS.xml8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml
index b7510d8034..abd6819a65 100644
--- a/doc/classes/OS.xml
+++ b/doc/classes/OS.xml
@@ -5,7 +5,7 @@
</brief_description>
<description>
The [OS] class wraps the most common functionalities for communicating with the host operating system, such as the video driver, delays, environment variables, execution of binaries, command line, etc.
- [b]Note:[/b] In Godot 4, [OS] functions related to window management, clipboard, and TTS were moved to the [DisplayServer] singleton (and the [Window] class). Functions related to time were removed and are only available in the [Time] class.
+ [b]Note:[/b] In Redot 4, [OS] functions related to window management, clipboard, and TTS were moved to the [DisplayServer] singleton (and the [Window] class). Functions related to time were removed and are only available in the [Time] class.
</description>
<tutorials>
<link title="Operating System Testing Demo">https://godotengine.org/asset-library/asset/2789</link>
@@ -50,7 +50,7 @@
<param index="1" name="arguments" type="PackedStringArray" />
<param index="2" name="open_console" type="bool" default="false" />
<description>
- Creates a new process that runs independently of Godot. It will not terminate when Redot terminates. The path specified in [param path] must exist and be an executable file or macOS [code].app[/code] bundle. The path is resolved based on the current platform. The [param arguments] are used in the given order and separated by a space.
+ Creates a new process that runs independently of Redot. It will not terminate when Redot terminates. The path specified in [param path] must exist and be an executable file or macOS [code].app[/code] bundle. The path is resolved based on the current platform. The [param arguments] are used in the given order and separated by a space.
On Windows, if [param open_console] is [code]true[/code] and the process is a console app, a new terminal window will be opened.
If the process is successfully created, this method returns its process ID, which you can use to monitor the process (and potentially terminate it with [method kill]). Otherwise, this method returns [code]-1[/code].
For example, running another instance of the project:
@@ -283,7 +283,7 @@
<return type="String" />
<description>
Returns the file path to the current engine executable.
- [b]Note:[/b] On macOS, if you want to launch another instance of Godot, always use [method create_instance] instead of relying on the executable path.
+ [b]Note:[/b] On macOS, if you want to launch another instance of Redot, always use [method create_instance] instead of relying on the executable path.
</description>
</method>
<method name="get_granted_permissions" qualifiers="const">
@@ -535,7 +535,7 @@
<method name="get_user_data_dir" qualifiers="const">
<return type="String" />
<description>
- Returns the absolute directory path where user data is written (the [code]user://[/code] directory in Godot). The path depends on the project name and [member ProjectSettings.application/config/use_custom_user_dir].
+ Returns the absolute directory path where user data is written (the [code]user://[/code] directory in Redot). The path depends on the project name and [member ProjectSettings.application/config/use_custom_user_dir].
- On Windows, this is [code]%AppData%\Godot\app_userdata\[project_name][/code], or [code]%AppData%\[custom_name][/code] if [code]use_custom_user_dir[/code] is set. [code]%AppData%[/code] expands to [code]%UserProfile%\AppData\Roaming[/code].
- On macOS, this is [code]~/Library/Application Support/Godot/app_userdata/[project_name][/code], or [code]~/Library/Application Support/[custom_name][/code] if [code]use_custom_user_dir[/code] is set.
- On Linux and BSD, this is [code]~/.local/share/godot/app_userdata/[project_name][/code], or [code]~/.local/share/[custom_name][/code] if [code]use_custom_user_dir[/code] is set.