Ability to open workspace from directory, WorkspaceMeta, and many sync improvements

This commit is contained in:
Gregory Schier
2025-01-08 14:57:13 -08:00
parent 37671a50f2
commit cbc443075a
71 changed files with 1012 additions and 1844 deletions

View File

@@ -4,6 +4,7 @@ import { getCurrentWebviewWindow } from '@tauri-apps/api/webviewWindow';
import { type } from '@tauri-apps/plugin-os';
import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import { initSync } from './init/sync';
import { router } from './lib/router';
import('react-pdf').then(({ pdfjs }) => {
@@ -36,6 +37,9 @@ window.addEventListener('keydown', (e) => {
}
});
// Initialize a bunch of watchers
initSync();
console.log('Creating React root');
createRoot(document.getElementById('root') as HTMLElement).render(
<StrictMode>