Compare commits

..

1 commit

Author SHA1 Message Date
ThinLiquid
8856e118df
chore: testing out ads 2024-02-02 04:23:36 +00:00
5 changed files with 5 additions and 59 deletions

View file

@ -1,49 +0,0 @@
name: Deploy
on:
push:
branches:
- master
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
- name: Install dependencies
uses: bahmutov/npm-install@v1
- name: Build project
run: npx vite build --base="/FlowOS/"
- name: Upload production-ready build files
uses: actions/upload-artifact@v3
with:
name: production-files
path: ./dist
deploy:
name: Deploy
needs: build
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'
steps:
- name: Download artifact
uses: actions/download-artifact@v3
with:
name: production-files
path: ./dist
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{ {
"name": "flowos", "name": "flowos",
"version": "2.4.0", "version": "2.3.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "flowos", "name": "flowos",
"version": "2.4.0", "version": "2.3.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"ansi-to-html": "^0.7.2", "ansi-to-html": "^0.7.2",

View file

@ -1,6 +1,6 @@
{ {
"name": "flowos", "name": "flowos",
"version": "2.4.0", "version": "2.3.0",
"description": "The most aesthetic webOS.", "description": "The most aesthetic webOS.",
"main": "src/bootloader.ts", "main": "src/bootloader.ts",
"scripts": { "scripts": {

View file

@ -116,12 +116,7 @@ window.console.group = (...args: any) => {
try { try {
const args = new URLSearchParams(window.location.search) const args = new URLSearchParams(window.location.search)
const kernel = new Kernel() const kernel = new Kernel()
writeln('/-----------------------------------------------\\') await kernel.boot(boot, progress, args)
writeln('| FlowOS is now discontinued. Starting in 10s...|')
writeln('\\-----------------------------------------------/')
setTimeout(() => {
kernel.boot(boot, progress, args).catch(e => console.error(e))
}, 10000)
} catch (e) { } catch (e) {
writeln() writeln()
writeln('An error occured while booting FlowOS.') writeln('An error occured while booting FlowOS.')