terminal initializes successfully, scuffed intro visuals, termianl still visible with the login form, user temporarily locked to gornodox only. all algorithms work for now, needs to check for bugs and merge to master befpre build. SIDE NOTE - *Make domain builds only from the* master *branch.*
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import type { User } from '../bash/etc/userData';
|
||||
import type { TreeNode } from '../bash/fs';
|
||||
import { type ILocale } from './localeRegistry';
|
||||
//import { type ILocale } from './localeRegistry';
|
||||
import { Terminal, type PageCallbacks, type TermInitArgs } from './terminal';
|
||||
|
||||
let initializing = $state(true);
|
||||
@@ -117,17 +117,16 @@ export async function initTerminal(
|
||||
const sig = await fetchFsSignature('/src/lib/assets/fs/signature');
|
||||
const fsJson = await fetchFsJson(sig);
|
||||
const fs: Map<number, TreeNode> = jsonToNodeTable(fsJson);
|
||||
const locale: ILocale = {
|
||||
/* const locale: ILocale = {
|
||||
id: localeId,
|
||||
keys: fetchLocale(localeId)
|
||||
};
|
||||
}; */
|
||||
|
||||
const args: TermInitArgs = {
|
||||
fs,
|
||||
locale,
|
||||
//locale,
|
||||
bash: {
|
||||
user,
|
||||
instanceId: 0
|
||||
fs,
|
||||
user
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user