cli: add programms to allowed list

This commit is contained in:
Johannes Kirschbauer
2024-07-16 13:49:16 +02:00
parent 91c2ad8974
commit 54dcbfae01
2 changed files with 4 additions and 2 deletions

View File

@@ -17,5 +17,7 @@
"sshpass", "sshpass",
"tor", "tor",
"virtiofsd", "virtiofsd",
"zbar" "zbar",
"util-linux",
"avahi"
] ]

View File

@@ -19,7 +19,7 @@ export const registerClan = async () => {
const loc = await callApi("open_file", { const loc = await callApi("open_file", {
file_request: { mode: "select_folder" }, file_request: { mode: "select_folder" },
}); });
console.log(loc); console.log({ loc }, loc.status);
if (loc.status === "success" && loc.data) { if (loc.status === "success" && loc.data) {
// @ts-expect-error: data is a string // @ts-expect-error: data is a string
setClanList((s) => { setClanList((s) => {