a lot of work, but i'd guess mostly api in the works

This commit is contained in:
2026-05-27 20:45:14 +02:00
parent 68458be71f
commit 50872d8951
22 changed files with 1425 additions and 1257 deletions
+11 -6
View File
@@ -1,9 +1,8 @@
import type { Stack } from '$lib/stores/stack';
import { FileSystem } from '../filesystem/filesystem';
import type { Command } from './command';
import type { Process } from './process';
export class Shell {
private readonly _fs: FileSystem;
private _passwd: User[];
private _group: Group[];
@@ -14,9 +13,15 @@ export class Shell {
private user: User;
private _process?: Process;
constructor() {
this._fs = new FileSystem();
}
constructor() {}
public static Initialize(
username: string,
password: string,
commands: Map<string, Command>,
passwd: Map<number, User>,
group: Map<number, Group>
) {}
}
export enum ExitCode {