Initiate safer boot sequence on upgrades

This commit is contained in:
Zef Hemel
2022-09-14 09:32:47 +02:00
parent 2d51b2d4c2
commit 61ba3398ad
10 changed files with 89 additions and 63 deletions
-4
View File
@@ -1,7 +1,6 @@
import { SysCallMapping } from "@plugos/plugos/system";
import type { Editor } from "../editor";
import { CommandDef } from "../hooks/command";
import { version } from "../package.json";
export function systemSyscalls(editor: Editor): SysCallMapping {
return {
@@ -33,9 +32,6 @@ export function systemSyscalls(editor: Editor): SysCallMapping {
}
return allCommands;
},
"system.getVersion": async () => {
return version;
},
"system.reloadPlugs": async () => {
return editor.reloadPlugs();
},