basic version of forms

This commit is contained in:
metacryst
2025-12-22 04:53:00 -06:00
parent 80ceb48a62
commit 97bd02c59a
14 changed files with 153 additions and 1742 deletions

5
app.js
View File

@@ -1,6 +1,6 @@
import { app, BrowserWindow, globalShortcut } from 'electron';
import paths from 'path'
import "./server/index.js"
import Server from "./server/index.js"
import { fileURLToPath } from 'url';
const __filename = fileURLToPath(import.meta.url);
@@ -68,7 +68,8 @@ function toggleDevTools(win) {
app.on("ready", async () => {
// await Forms.init();
createWindow({onTop: false});
// createWindow({onTop: false});
new Server()
globalShortcut.register('CommandOrControl+Shift+Space', () => {
createWindow({onTop: true});