Add APOLLO_APP_UUID envvar

This commit is contained in:
Yukino Song
2025-05-11 22:39:29 +08:00
parent 6ee5f4ed0b
commit 6c7962b6da
4 changed files with 9 additions and 0 deletions

View File

@@ -344,6 +344,7 @@ namespace proc {
_env["APOLLO_APP_ID"] = _app.id;
_env["APOLLO_APP_NAME"] = _app.name;
_env["APOLLO_APP_UUID"] = _app.uuid;
_env["APOLLO_CLIENT_UUID"] = launch_session->unique_id;
_env["APOLLO_CLIENT_NAME"] = launch_session->device_name;
_env["APOLLO_CLIENT_WIDTH"] = std::to_string(render_width);

View File

@@ -340,6 +340,10 @@
<td style="font-family: monospace">APOLLO_APP_NAME</td>
<td>{{ $t('apps.env_app_name') }}</td>
</tr>
<tr>
<td style="font-family: monospace">APOLLO_APP_UUID</td>
<td>{{ $t('apps.env_app_uuid') }}</td>
</tr>
<tr>
<td style="font-family: monospace">APOLLO_CLIENT_UUID</td>
<td>{{ $t('apps.env_client_uuid') }}</td>

View File

@@ -58,6 +58,7 @@
"edit": "Edit",
"env_app_id": "App ID",
"env_app_name": "App Name",
"env_app_uuid": "App UUID",
"env_client_audio_config": "The Audio Configuration requested by the client (2.0/5.1/7.1)",
"env_client_enable_sops": "The client has requested the option to optimize the game for optimal streaming (true/false)",
"env_client_fps": "The FPS requested by the client (float)",

View File

@@ -58,6 +58,7 @@
"edit": "编辑",
"env_app_id": "应用 ID",
"env_app_name": "应用名称",
"env_app_uuid": "应用 UUID",
"env_client_audio_config": "客户端请求的音频配置 (2.0/5.1/7.1)",
"env_client_enable_sops": "客户端请求自动更改游戏设置以实现最佳串流效果 (true/false)",
"env_client_fps": "客户端请求的帧率 (float)",
@@ -66,6 +67,8 @@
"env_client_height": "客户端请求的分辨率的高度 (int)",
"env_client_host_audio": "客户端请求在主机播放声音 (true/false)",
"env_client_width": "客户端请求的分辨率的宽度 (int)",
"env_client_uuid": "客户端 UUID",
"env_client_name": "客户端名称",
"env_displayplacer_example": "示例 - 使用 displayplacer 自动更改分辨率:",
"env_qres_example": "示例 - 使用 QRes 自动更改分辨率:",
"env_qres_path": "QRes 路径",