fix(striker-ui-api): add openssl to shell

main
Tsu-ba-me 2 years ago
parent 2746e500de
commit f911a335ac
  1. 1
      striker-ui-api/src/lib/consts/SERVER_PATHS.ts
  2. 3
      striker-ui-api/src/lib/shell.ts

@ -11,6 +11,7 @@ const EMPTY_SERVER_PATHS: ServerPath = {
bin: {
date: {},
mkfifo: {},
openssl: {},
psql: {},
rm: {},
sed: {},

@ -35,6 +35,9 @@ export const date = (...args: string[]) =>
export const mkfifo = (...args: string[]) =>
systemCall(SERVER_PATHS.usr.bin.mkfifo.self, args);
export const openssl = (...args: string[]) =>
systemCall(SERVER_PATHS.usr.bin.openssl.self, args);
export const rm = (...args: string[]) =>
systemCall(SERVER_PATHS.usr.bin.rm.self, args);

Loading…
Cancel
Save