feat: categories and option search

This commit is contained in:
2025-03-15 15:32:45 +00:00
parent 97831caf75
commit 08d6a2a2fe
11 changed files with 214 additions and 33 deletions

View File

@ -24,3 +24,16 @@ export const invoke = async <T>(
throw e;
}
};
export const invoke_nopopup = async <T>(
cmd: string,
args?: InvokeArgs,
options?: InvokeOptions
): Promise<T> => {
try {
return await real_invoke(cmd, args, options);
} catch (e: unknown) {
console.error(`Error invoking ${cmd}: ${e}`);
throw e;
}
};