Add option to enable/disable client commands per-app
This commit is contained in:
@@ -150,6 +150,14 @@
|
||||
v-model="editForm['image-path']" />
|
||||
<div id="appImagePathHelp" class="form-text">{{ $t('apps.image_desc') }}</div>
|
||||
</div>
|
||||
<!-- allow client commands -->
|
||||
<Checkbox class="mb-3"
|
||||
id="clientCommands"
|
||||
label="apps.allow_client_commands"
|
||||
desc="apps.allow_client_commands_desc"
|
||||
v-model="editForm['allow-client-commands']"
|
||||
default="true"
|
||||
></Checkbox>
|
||||
<!-- prep-cmd -->
|
||||
<Checkbox class="mb-3"
|
||||
id="excludeGlobalPrep"
|
||||
@@ -409,7 +417,8 @@
|
||||
detached: [],
|
||||
"image-path": "",
|
||||
"scale-factor": "100",
|
||||
"use-app-identity": false
|
||||
"use-app-identity": false,
|
||||
"allow-client-commands": true,
|
||||
}
|
||||
|
||||
const app = createApp({
|
||||
|
||||
@@ -32,6 +32,8 @@
|
||||
"actions": "Actions",
|
||||
"add_cmds": "Add Commands",
|
||||
"add_new": "Add New",
|
||||
"allow_client_commands": "Allow client prepare commands",
|
||||
"allow_client_commands_desc": "Whether to execute client prepare commands when running this app.",
|
||||
"app_name": "Application Name",
|
||||
"app_name_desc": "Application Name, as shown on Moonlight",
|
||||
"applications_desc": "Applications are refreshed only when Client is restarted",
|
||||
|
||||
@@ -32,6 +32,8 @@
|
||||
"actions": "操作",
|
||||
"add_cmds": "添加命令",
|
||||
"add_new": "添加新应用",
|
||||
"allow_client_commands": "允许客户端准备命令",
|
||||
"allow_client_commands_desc": "在此APP运行时是否允许执行客户端准备命令",
|
||||
"app_name": "应用名称",
|
||||
"app_name_desc": "在 Moonlight 显示的应用名称",
|
||||
"applications_desc": "只有重启客户端时应用列表才会被刷新",
|
||||
@@ -165,6 +167,10 @@
|
||||
"channels": "最多同时连接客户端数",
|
||||
"channels_desc_1": "Apollo 允许多个客户端同时共享一个串流会话。",
|
||||
"channels_desc_2": "某些硬件编码器可能存在限制,在编码多条流时会降低性能。",
|
||||
"client_do_cmd": "客户端连入命令",
|
||||
"client_do_cmd_desc": "当此客户端连接时执行的命令。所有命令都以后台模式允许。",
|
||||
"client_undo_cmd": "客户端断开命令",
|
||||
"client_undo_cmd_desc": "当此客户端断开连接时执行的命令。所有命令都以后台模式允许。",
|
||||
"coder_cabac": "cabac -- 上下文自适应二进制算术编码- 较高质量",
|
||||
"coder_cavlc": "cavlc -- 上下文适应变量编码 - 更快解码",
|
||||
"configuration": "配置",
|
||||
|
||||
Reference in New Issue
Block a user