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:
2026-03-05 19:50:05 +01:00
parent 9ac27f5fbd
commit 43589410e3
18 changed files with 288 additions and 119 deletions
+6 -7
View File
@@ -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
}
};