diff --git a/editor/electron/api/handlers.ts b/editor/electron/api/handlers.ts
deleted file mode 100644
index 452db51f..00000000
--- a/editor/electron/api/handlers.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-import vnscene from './vnscene';
-
-export const API_HANDLERS:{
- [key:string]:(...args:any)=>any
-} = {};
-
-const addHandlers = (handlers:{[key:string]:(...args:any)=>any}) => {
- Object.keys(handlers).forEach(key => API_HANDLERS[key] = handlers[key]);
-}
-
-addHandlers(vnscene);
diff --git a/editor/electron/api/vnscene.ts b/editor/electron/api/vnscene.ts
deleted file mode 100644
index 5b63ced2..00000000
--- a/editor/electron/api/vnscene.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-export default {
- "vnscene:test": (bruh1:string, bruh2:string) => {
- console.log("vnscene:test", bruh1, bruh2);
- return 'test?';
- }
-};
\ No newline at end of file
diff --git a/editor/electron/main.ts b/editor/electron/main.ts
deleted file mode 100644
index b55103b4..00000000
--- a/editor/electron/main.ts
+++ /dev/null
@@ -1,64 +0,0 @@
-import { app, BrowserWindow, ipcMain } from 'electron';
-import * as path from 'path';
-import installExtension, { REACT_DEVELOPER_TOOLS } from "electron-devtools-installer";
-import { API_HANDLERS } from './api/handlers';
-
-function createWindow() {
- const win = new BrowserWindow({
- width: 800,
- height: 600,
- webPreferences: {
- // contextIsolation: false,
- preload: path.join(__dirname, 'preload.js')
- }
- })
-
- if (app.isPackaged) {
- // 'build/index.html'
- win.loadURL(`file://${__dirname}/../index.html`);
- } else {
- win.loadURL('http://localhost:3000/index.html');
-
- win.webContents.openDevTools();
-
- // Hot Reloading on 'node_modules/.bin/electronPath'
- require('electron-reload')(__dirname, {
- electron: path.join(__dirname,
- '..',
- '..',
- 'node_modules',
- '.bin',
- 'electron' + (process.platform === "win32" ? ".cmd" : "")),
- forceHardReset: true,
- hardResetMethod: 'exit'
- });
- }
-}
-
-app.whenReady().then(() => {
- // DevTools
- installExtension(REACT_DEVELOPER_TOOLS)
- .then((name) => console.log(`Added Extension: ${name}`))
- .catch((err) => console.log('An error occurred: ', err));
-
- createWindow();
-
- app.on('activate', () => {
- if (BrowserWindow.getAllWindows().length === 0) {
- createWindow();
- }
- });
-
- app.on('window-all-closed', () => {
- if (process.platform !== 'darwin') {
- app.quit();
- }
- });
-
- // Add API Handlers
- Object.entries(API_HANDLERS).forEach(entry => {
- ipcMain.handle(entry[0], (event:any, ...args:any) => {
- return entry[1](...args);
- });
- })
-});
diff --git a/editor/electron/preload.ts b/editor/electron/preload.ts
deleted file mode 100644
index d6f98ffb..00000000
--- a/editor/electron/preload.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import { contextBridge, ipcRenderer } from 'electron';
-
-const API_HANDLERS = [
- "vnscene:test"
-];
-
-contextBridge.exposeInMainWorld(
- 'dawnapi',
- API_HANDLERS.reduce((acc, key) => {
- acc[key] = (...args:any) => ipcRenderer.invoke(key, ...args);
- return acc;
- }, {} as {[key:string]:()=>any})
-);
\ No newline at end of file
diff --git a/editor/electron/tsconfig.json b/editor/electron/tsconfig.json
deleted file mode 100644
index d97a2c34..00000000
--- a/editor/electron/tsconfig.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "compilerOptions": {
- "target": "es5",
- "module": "commonjs",
- "sourceMap": true,
- "strict": true,
- "outDir": "../build",
- "rootDir": "../",
- "noEmitOnError": true,
- "typeRoots": [
- "node_modules/@types"
- ]
- }
-}
diff --git a/editor/package.json b/editor/package.json
deleted file mode 100644
index 2292a0fd..00000000
--- a/editor/package.json
+++ /dev/null
@@ -1,63 +0,0 @@
-{
- "main": "build/electron/main.js",
- "dependencies": {
- "@testing-library/jest-dom": "^5.16.5",
- "@testing-library/react": "^13.4.0",
- "@testing-library/user-event": "^14.4.3",
- "@types/electron-devtools-installer": "^2.2.2",
- "@types/jest": "^29.4.0",
- "@types/node": "^18.13.0",
- "@types/react": "^18.0.28",
- "@types/react-dom": "^18.0.11",
- "electron-devtools-installer": "^3.2.0",
- "electron-reload": "^1.5.0",
- "react": "^18.2.0",
- "react-dom": "^18.2.0",
- "react-scripts": "5.0.1",
- "typescript": "^4.9.5",
- "web-vitals": "^3.1.1"
- },
- "scripts": {
- "start": "react-scripts start",
- "build": "react-scripts build",
- "test": "react-scripts test",
- "postinstall": "electron-builder install-app-deps",
- "electron:dev": "concurrently \"cross-env BROWSER=none yarn start\" \"wait-on http://127.0.0.1:3000 && tsc -p electron -w\" \"wait-on http://127.0.0.1:3000 && tsc -p electron && electron .\"",
- "electron:build": "yarn build && tsc -p electron && electron-builder",
- "eject": "react-scripts eject"
- },
- "build": {
- "extends": null,
- "files": [
- "build/**/*"
- ],
- "directories": {
- "buildResources": "assets"
- }
- },
- "eslintConfig": {
- "extends": [
- "react-app",
- "react-app/jest"
- ]
- },
- "browserslist": {
- "production": [
- ">0.2%",
- "not dead",
- "not op_mini all"
- ],
- "development": [
- "last 1 chrome version",
- "last 1 firefox version",
- "last 1 safari version"
- ]
- },
- "devDependencies": {
- "concurrently": "^7.6.0",
- "cross-env": "^7.0.3",
- "electron": "^23.1.0",
- "electron-builder": "^23.6.0",
- "wait-on": "^7.0.1"
- }
-}
diff --git a/editor/public/favicon.ico b/editor/public/favicon.ico
deleted file mode 100644
index c2c86b85..00000000
Binary files a/editor/public/favicon.ico and /dev/null differ
diff --git a/editor/public/index.html b/editor/public/index.html
deleted file mode 100644
index a146b6fd..00000000
--- a/editor/public/index.html
+++ /dev/null
@@ -1,43 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
- React App
-
-
-
-
-
-
-
diff --git a/editor/public/logo192.png b/editor/public/logo192.png
deleted file mode 100644
index fa313abf..00000000
Binary files a/editor/public/logo192.png and /dev/null differ
diff --git a/editor/public/logo512.png b/editor/public/logo512.png
deleted file mode 100644
index bd5d4b5e..00000000
Binary files a/editor/public/logo512.png and /dev/null differ
diff --git a/editor/public/manifest.json b/editor/public/manifest.json
deleted file mode 100644
index 080d6c77..00000000
--- a/editor/public/manifest.json
+++ /dev/null
@@ -1,25 +0,0 @@
-{
- "short_name": "React App",
- "name": "Create React App Sample",
- "icons": [
- {
- "src": "favicon.ico",
- "sizes": "64x64 32x32 24x24 16x16",
- "type": "image/x-icon"
- },
- {
- "src": "logo192.png",
- "type": "image/png",
- "sizes": "192x192"
- },
- {
- "src": "logo512.png",
- "type": "image/png",
- "sizes": "512x512"
- }
- ],
- "start_url": ".",
- "display": "standalone",
- "theme_color": "#000000",
- "background_color": "#ffffff"
-}
diff --git a/editor/public/robots.txt b/editor/public/robots.txt
deleted file mode 100644
index 01b0f9a1..00000000
--- a/editor/public/robots.txt
+++ /dev/null
@@ -1,2 +0,0 @@
-# https://www.robotstxt.org/robotstxt.html
-User-agent: *
diff --git a/editor/src/App.tsx b/editor/src/App.tsx
deleted file mode 100644
index 62f8f900..00000000
--- a/editor/src/App.tsx
+++ /dev/null
@@ -1,19 +0,0 @@
-import { VNSceneEditor } from "./views/VNSceneEditor";
-
-export const App = () => {
- return (
- <>
-
-
-
-
-
-
-
- >
- );
-}
\ No newline at end of file
diff --git a/editor/src/api/base.ts b/editor/src/api/base.ts
deleted file mode 100644
index b5aa6193..00000000
--- a/editor/src/api/base.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-//@ts-ignore
-const wdawnapi = (globalThis['dawnapi'] as any);
-
-export const API_BASE = wdawnapi;
\ No newline at end of file
diff --git a/editor/src/api/index.ts b/editor/src/api/index.ts
deleted file mode 100644
index 452aca22..00000000
--- a/editor/src/api/index.ts
+++ /dev/null
@@ -1 +0,0 @@
-export * from './vnscene';
\ No newline at end of file
diff --git a/editor/src/api/vnscene.ts b/editor/src/api/vnscene.ts
deleted file mode 100644
index cedfe6cf..00000000
--- a/editor/src/api/vnscene.ts
+++ /dev/null
@@ -1,3 +0,0 @@
-import { API_BASE } from "./base";
-
-export const doVnTest = API_BASE['vnscene:test'] as (bruh1:string, bruh2:string) => Promise;
\ No newline at end of file
diff --git a/editor/src/index.css b/editor/src/index.css
deleted file mode 100644
index d80b7c71..00000000
--- a/editor/src/index.css
+++ /dev/null
@@ -1,4 +0,0 @@
-html,body {
- margin: 0;
- padding: 0;
-}
\ No newline at end of file
diff --git a/editor/src/index.tsx b/editor/src/index.tsx
deleted file mode 100644
index b071fc2d..00000000
--- a/editor/src/index.tsx
+++ /dev/null
@@ -1,17 +0,0 @@
-import React from 'react';
-import ReactDOM from 'react-dom/client';
-import './index.css';
-import { App } from './App';
-import reportWebVitals from './reportWebVitals';
-
-const root = ReactDOM.createRoot(document.getElementById('root')!);
-root.render(
-
-
-
-);
-
-// If you want to start measuring performance in your app, pass a function
-// to log results (for example: reportWebVitals(console.log))
-// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
-reportWebVitals();
diff --git a/editor/src/react-app-env.d.ts b/editor/src/react-app-env.d.ts
deleted file mode 100644
index 6431bc5f..00000000
--- a/editor/src/react-app-env.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-///
diff --git a/editor/src/reportWebVitals.ts b/editor/src/reportWebVitals.ts
deleted file mode 100644
index 49a2a16e..00000000
--- a/editor/src/reportWebVitals.ts
+++ /dev/null
@@ -1,15 +0,0 @@
-import { ReportHandler } from 'web-vitals';
-
-const reportWebVitals = (onPerfEntry?: ReportHandler) => {
- if (onPerfEntry && onPerfEntry instanceof Function) {
- import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
- getCLS(onPerfEntry);
- getFID(onPerfEntry);
- getFCP(onPerfEntry);
- getLCP(onPerfEntry);
- getTTFB(onPerfEntry);
- });
- }
-};
-
-export default reportWebVitals;
diff --git a/editor/src/setupTests.ts b/editor/src/setupTests.ts
deleted file mode 100644
index 8f2609b7..00000000
--- a/editor/src/setupTests.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-// jest-dom adds custom jest matchers for asserting on DOM nodes.
-// allows you to do things like:
-// expect(element).toHaveTextContent(/react/i)
-// learn more: https://github.com/testing-library/jest-dom
-import '@testing-library/jest-dom';
diff --git a/editor/src/views/VNSceneEditor.tsx b/editor/src/views/VNSceneEditor.tsx
deleted file mode 100644
index 5cdbc0d9..00000000
--- a/editor/src/views/VNSceneEditor.tsx
+++ /dev/null
@@ -1,16 +0,0 @@
-import React, { useState } from 'react';
-import { doVnTest } from '../api';
-
-export const VNSceneEditor = () => {
- const [ test, setTest ] = useState('');
-
- return (
-
- VN Scene Editor
-
-
-
- );
-}
\ No newline at end of file
diff --git a/editor/tsconfig.json b/editor/tsconfig.json
deleted file mode 100644
index a273b0cf..00000000
--- a/editor/tsconfig.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "compilerOptions": {
- "target": "es5",
- "lib": [
- "dom",
- "dom.iterable",
- "esnext"
- ],
- "allowJs": true,
- "skipLibCheck": true,
- "esModuleInterop": true,
- "allowSyntheticDefaultImports": true,
- "strict": true,
- "forceConsistentCasingInFileNames": true,
- "noFallthroughCasesInSwitch": true,
- "module": "esnext",
- "moduleResolution": "node",
- "resolveJsonModule": true,
- "isolatedModules": true,
- "noEmit": true,
- "jsx": "react-jsx"
- },
- "include": [
- "src"
- ]
-}