Skip to content

Commit 78698b9

Browse files
committed
refactor(capabilities): shell: explicit command args
1 parent 84b4f05 commit 78698b9

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

src-tauri/capabilities/default.json

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,9 @@
3737
"identifier": "shell:allow-execute",
3838
"allow": [
3939
{
40-
"name": "chmod+x",
40+
"name": "chmod-walletshield",
4141
"cmd": "chmod",
42-
"args": [
43-
"+x",
44-
{
45-
"validator": "\\S+"
46-
}
47-
],
42+
"args": ["+x", "walletshield"],
4843
"sidecar": false
4944
}
5045
]
@@ -55,14 +50,7 @@
5550
{
5651
"name": "walletshield-listen",
5752
"cmd": "walletshield",
58-
"args": [
59-
"-listen",
60-
":7070",
61-
"-config",
62-
{
63-
"validator": "\\S+"
64-
}
65-
],
53+
"args": ["-listen", ":7070", "-config", "client.toml"],
6654
"sidecar": false
6755
}
6856
]

0 commit comments

Comments
 (0)