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:
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user