Rebranded plugbox to PlugOS (plugos)
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ import { SocketServer } from "./api_server";
|
||||
import * as path from "path";
|
||||
import * as fs from "fs";
|
||||
import { SilverBulletHooks } from "../common/manifest";
|
||||
import { System } from "../plugbox/system";
|
||||
import { System } from "../plugos/system";
|
||||
|
||||
describe("Server test", () => {
|
||||
let io: Server,
|
||||
|
||||
@@ -6,7 +6,7 @@ import { PageApi } from "./page_api";
|
||||
import { SilverBulletHooks } from "../common/manifest";
|
||||
import pageIndexSyscalls from "./syscalls/page_index";
|
||||
import { safeRun } from "./util";
|
||||
import { System } from "../plugbox/system";
|
||||
import { System } from "../plugos/system";
|
||||
|
||||
export class ClientConnection {
|
||||
openPages = new Set<string>();
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { Express } from "express";
|
||||
import { SilverBulletHooks } from "../common/manifest";
|
||||
import { EndpointFeature } from "../plugbox/feature/endpoint";
|
||||
import { EndpointFeature } from "../plugos/feature/endpoint";
|
||||
import { readFile } from "fs/promises";
|
||||
import { System } from "../plugbox/system";
|
||||
import { System } from "../plugos/system";
|
||||
|
||||
export class ExpressServer {
|
||||
app: Express;
|
||||
|
||||
+2
-2
@@ -10,8 +10,8 @@ import path from "path";
|
||||
import { stat } from "fs/promises";
|
||||
import { Cursor, cursorEffect } from "../webapp/cursorEffect";
|
||||
import { SilverBulletHooks } from "../common/manifest";
|
||||
import { System } from "../plugbox/system";
|
||||
import { EventFeature } from "../plugbox/feature/event";
|
||||
import { System } from "../plugos/system";
|
||||
import { EventFeature } from "../plugos/feature/event";
|
||||
|
||||
export class PageApi implements ApiProvider {
|
||||
openPages: Map<string, Page>;
|
||||
|
||||
+5
-5
@@ -8,10 +8,10 @@ import yargs from "yargs";
|
||||
import {hideBin} from "yargs/helpers";
|
||||
import {SilverBulletHooks} from "../common/manifest";
|
||||
import {ExpressServer} from "./express_server";
|
||||
import {DiskPlugLoader} from "../plugbox/plug_loader";
|
||||
import {NodeCronFeature} from "../plugbox/feature/node_cron";
|
||||
import shellSyscalls from "../plugbox/syscall/shell.node";
|
||||
import {System} from "../plugbox/system";
|
||||
import {DiskPlugLoader} from "../plugos/plug_loader";
|
||||
import {NodeCronFeature} from "../plugos/feature/node_cron";
|
||||
import shellSyscalls from "../plugos/syscall/shell.node";
|
||||
import {System} from "../plugos/system";
|
||||
|
||||
let args = yargs(hideBin(process.argv))
|
||||
.option("port", {
|
||||
@@ -21,7 +21,7 @@ let args = yargs(hideBin(process.argv))
|
||||
.parse();
|
||||
|
||||
if (!args._.length) {
|
||||
console.error("Usage: silverbullet <path-to-pages>");
|
||||
console.error("Usage: silverbullet <path-to-pages>");
|
||||
process.exit(1);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { Knex } from "knex";
|
||||
import { SysCallMapping } from "../../plugbox/system";
|
||||
import { SysCallMapping } from "../../plugos/system";
|
||||
|
||||
type IndexItem = {
|
||||
page: string;
|
||||
|
||||
Reference in New Issue
Block a user