more things broken for now
- shell now uses the path env variable - commands run based on permission of the bin file
This commit is contained in:
+4
-1
@@ -45,7 +45,10 @@ const group: GroupInfo = {
|
||||
users.set(1000, user);
|
||||
groups.set(1000, group);
|
||||
|
||||
const state: ShellState = createInitialShellState(fs, users, groups, user);
|
||||
const env: Map<string, string> = new Map();
|
||||
env.set("PATH", "/folder1");
|
||||
|
||||
const state: ShellState = createInitialShellState(fs, users, groups, user, env);
|
||||
Shell.init(state);
|
||||
|
||||
//console.log(resolveInode(Shell.Instance?.State!, 6));
|
||||
|
||||
Reference in New Issue
Block a user