Go back to own version of markdown
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { SysCallMapping } from "@plugos/plugos/system";
|
||||
import type { ExpressServer } from "../express_server";
|
||||
import { version } from "../package.json";
|
||||
|
||||
export function systemSyscalls(expressServer: ExpressServer): SysCallMapping {
|
||||
return {
|
||||
@@ -17,5 +18,8 @@ export function systemSyscalls(expressServer: ExpressServer): SysCallMapping {
|
||||
"system.reloadPlugs": async () => {
|
||||
return expressServer.reloadPlugs();
|
||||
},
|
||||
"system.getVersion": async () => {
|
||||
return version;
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user