Skip to content

Commit 1d3ced1

Browse files
committed
chore(capabilities): shell: add validator for walletshield listen arg
1 parent 0ea9fab commit 1d3ced1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src-tauri/capabilities/default.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,12 @@
5050
{
5151
"name": "walletshield-listen",
5252
"cmd": "walletshield",
53-
"args": ["-listen", ":7070", "-config", "client.toml"],
53+
"args": [
54+
"-listen",
55+
{ "validator": "^(\\S*:\\d+)$" },
56+
"-config",
57+
"client.toml"
58+
],
5459
"sidecar": false
5560
}
5661
]

0 commit comments

Comments
 (0)