ChibraxOS 2

Changes:
- kernel 6.0.2
- Broken init scripts
- Switch to bun for better peroformance an easier ffi
- Removed grup
- Efi support without graphics (at least graphics werent tested)
- Suppression de toutes les dépendance non libc
- new splash
- broken audio
- typescript support
- ls rewritten to be more reliable
This commit is contained in:
Marc
2022-10-22 13:47:33 +02:00
parent db49f8d205
commit 721c919c7b
76 changed files with 2485 additions and 2665 deletions
+5 -6
View File
@@ -1,5 +1,8 @@
//@ts-check
const fs = require('fs')
import * as fs from 'fs'
import { init } from './initd.js'
import * as reboot from './reboot.js'
import { fHook } from './hook.js'
function panic() {
console.log("/!\\ INIT PANIK /!\\ LOSE CHIBRE")
@@ -8,13 +11,9 @@ function panic() {
async function main() {
try {
const initd = require('./initd.js')
const reboot = require('./reboot.js')
const { fHook } = require("./hook.js")
console.clear()
await initd()
await init()
//chainload into sheebr
if(fs.existsSync("/usr/bin/sheebr.js")) {