Initiate safer boot sequence on upgrades
This commit is contained in:
@@ -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();
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user